]> git.lyx.org Git - features.git/commitdiff
Fix problem with drawing of math backround with selections.
authorEnrico Forestieri <forenr@lyx.org>
Wed, 7 May 2014 18:18:14 +0000 (14:18 -0400)
committerRichard Heck <rgheck@lyx.org>
Wed, 7 May 2014 18:23:53 +0000 (14:23 -0400)
(cherry picked from commit 3e681bea4fa3f0d24016187d9778ab8344b93592)

src/mathed/InsetMathHull.cpp
status.21x

index 4c206250feb8c95c09c6d8ae62e78344258124b0..daf43feef61e9402a07bf69eba9af7605a5196eb 100644 (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));
 }
 
 
index a2eb485d2c361b45d5b177b654d93da0fe3cd4ac..0f05bc7ad33588d3aa2c4a78f0af56bcbcf9a400 100644 (file)
@@ -113,6 +113,8 @@ What's new
 - 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.
 
+- Fix problem with drawing of background in math when selection is active.
+
 
 * INTERNALS