]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_boxinset.C
Change the color of the background widget to red.
[lyx.git] / src / mathed / math_boxinset.C
index ca053c422e4bd1f6ef404a9fac8e0142672c9034..10e070c8b75dc492f3a13e573db64790695eb6e1 100644 (file)
@@ -48,9 +48,9 @@ void MathBoxInset::normalize(NormalStream & os) const
 void MathBoxInset::metrics(MetricsInfo & mi, Dimension & dim) const
 {
        FontSetChanger dummy(mi.base, "textnormal");
-       cell(0).metrics(mi, dim_);
-       metricsMarkers();
-       dim = dim_;
+       cell(0).metrics(mi, dim);
+       metricsMarkers(dim);
+       dim_ = dim;
 }