Fix problem with drawing of math backround with selections.

(cherry picked from commit 3e681bea4f)
This commit is contained in:
Enrico Forestieri 2014-05-07 14:18:14 -04:00 committed by Richard Heck
parent 5160fa1043
commit 2c2ba981fb
2 changed files with 3 additions and 1 deletions

View File

@ -510,7 +510,7 @@ void InsetMathHull::drawBackground(PainterInfo & pi, int x, int y) const
return; return;
} }
pi.pain.fillRectangle(x + 1, y - dim.asc + 1, dim.wid - 2, 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));
} }

View File

@ -113,6 +113,8 @@ What's new
- Open View > Source Pane at a reasonable size (bug 9084). The downside of - Open View > Source Pane at a reasonable size (bug 9084). The downside of
this fix is that the Source Pane cannot be shrunken ad infinitum anymore. this fix is that the Source Pane cannot be shrunken ad infinitum anymore.
- Fix problem with drawing of background in math when selection is active.
* INTERNALS * INTERNALS