mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 16:31:13 +00:00
cleanup my latest cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3178 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b78b32b554
commit
bf94991c65
@ -1,3 +1,8 @@
|
||||
2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
||||
|
||||
* insettext.C (draw): re-introduce the calls to width() ascent()
|
||||
and descent() to initialize the caching variables.
|
||||
|
||||
2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
||||
|
||||
* insettext.C (draw):
|
||||
|
@ -413,8 +413,14 @@ void InsetText::draw(BufferView * bv, LyXFont const & f,
|
||||
return;
|
||||
}
|
||||
|
||||
// call these methods so that insetWidth, insetAscent and
|
||||
// insetDescent have the right values.
|
||||
width(bv, f);
|
||||
ascent(bv, f);
|
||||
descent(bv, f);
|
||||
|
||||
top_baseline = baseline;
|
||||
top_y = baseline - ascent(bv, f);
|
||||
top_y = baseline - insetAscent;
|
||||
|
||||
if (last_drawn_width != insetWidth) {
|
||||
if (!cleared)
|
||||
|
Loading…
Reference in New Issue
Block a user