mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Remove uneeded hack.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35411 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
014134cb99
commit
31c75d260e
@ -145,11 +145,6 @@ void InsetLine::draw(PainterInfo & pi, int x, int y) const
|
||||
{
|
||||
Dimension const dim = dimension(*pi.base.bv);
|
||||
|
||||
// check that it doesn't exceed the upper boundary
|
||||
// FIXME: not sure this should be done...
|
||||
if (y - offset_ - height_/2 < 0)
|
||||
offset_ = y - height_/2 - 2;
|
||||
|
||||
// get the surrounding text color
|
||||
Color Line_color = pi.base.font.realColor();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user