InsetLine.cpp: use text color also for lyxlines

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35191 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2010-08-25 01:59:14 +00:00
parent 1dedc47249
commit fab03729ab

View File

@ -59,7 +59,7 @@ void InsetLine::metrics(MetricsInfo & mi, Dimension & dim) const
void InsetLine::draw(PainterInfo & pi, int x, int y) const
{
Dimension const dim = dimension(*pi.base.bv);
pi.pain.line(x, y, x + dim.wid, y, Color_black,
pi.pain.line(x, y, x + dim.wid, y, Color_foreground,
Painter::line_solid, Painter::line_medium);
}