]> 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:18:14 +0000 (14:18 -0400)
src/mathed/InsetMathHull.cpp

index f7215e9210634a07ff96524ace5ef0bc7721467c..eb11bc20ed2da538a1326331e699cc7b8dce7f2f 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));
 }