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:
Abdelrazak Younes 2010-09-16 09:49:43 +00:00
parent 014134cb99
commit 31c75d260e

View File

@ -145,11 +145,6 @@ void InsetLine::draw(PainterInfo & pi, int x, int y) const
{ {
Dimension const dim = dimension(*pi.base.bv); 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 // get the surrounding text color
Color Line_color = pi.base.font.realColor(); Color Line_color = pi.base.font.realColor();