Fix problem with drawing of math backround with selections.

This commit is contained in:
Enrico Forestieri 2014-05-07 14:18:14 -04:00 committed by Richard Heck
parent d7e9ab08a3
commit 3e681bea4f

View File

@ -510,7 +510,7 @@ void InsetMathHull::drawBackground(PainterInfo & pi, int x, int y) const
return;
}
pi.pain.fillRectangle(x + 1, y - dim.asc + 1, dim.wid - 2,
dim.asc + dim.des - 1, backgroundColor(pi));
dim.asc + dim.des - 1, pi.backgroundColor(this));
}