X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathColor.cpp;h=ea4f4ef6e29793c84a8d62be1a906f6523dc7111;hb=02e82157ec583c3900e359de86be79fac6512387;hp=0a6d0aa6b9f21ae6691c1915322adc16fb75b89b;hpb=42a30357091d8483342a4f52260a2d2c6d80c980;p=lyx.git diff --git a/src/mathed/InsetMathColor.cpp b/src/mathed/InsetMathColor.cpp index 0a6d0aa6b9..ea4f4ef6e2 100644 --- a/src/mathed/InsetMathColor.cpp +++ b/src/mathed/InsetMathColor.cpp @@ -49,7 +49,7 @@ Inset * InsetMathColor::clone() const void InsetMathColor::metrics(MetricsInfo & mi, Dimension & dim) const { cell(0).metrics(mi, dim); - metricsMarkers(dim); + metricsMarkers(mi, dim); } @@ -60,7 +60,6 @@ void InsetMathColor::draw(PainterInfo & pi, int x, int y) const cell(0).draw(pi, x + 1, y); pi.base.font.setColor(origcol); drawMarkers(pi, x, y); - setPosCache(pi, x, y); }