mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 06:49:56 +00:00
Fixed InsetText's frame redrawing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3674 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
dfcfccfc36
commit
06b35a161d
@ -1,5 +1,7 @@
|
||||
2002-03-06 Juergen Vigna <jug@sad.it>
|
||||
|
||||
* insettext.C (draw): fixed frame redrawing.
|
||||
|
||||
* insetert.C (status): pay attention the bv can be 0 here!
|
||||
(getMaxWidth): add the default leftMargin
|
||||
|
||||
|
@ -485,8 +485,10 @@ void InsetText::draw(BufferView * bv, LyXFont const & f,
|
||||
|
||||
lt->refresh_y = 0;
|
||||
lt->status(bv, LyXText::UNCHANGED);
|
||||
if ((need_update != CURSOR_PAR) &&
|
||||
((drawFrame_ == ALWAYS) || ((drawFrame_ == LOCKED) && locked))) {
|
||||
if ((drawFrame_ == ALWAYS) ||
|
||||
((cleared || (need_update != CURSOR_PAR)) &&
|
||||
(drawFrame_ == LOCKED) && locked))
|
||||
{
|
||||
drawFrame(pain, cleared);
|
||||
} else if (need_update & CLEAR_FRAME) {
|
||||
clearFrame(pain, cleared);
|
||||
|
Loading…
Reference in New Issue
Block a user