X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FMathData.cpp;h=a911cc839aec0a2da88fa620828ce2278e240140;hb=98fb638d61d38df1443339de4e8ba58c7c81784a;hp=8e1deaba17cbf39dd123db07cb70cead6290b5d8;hpb=a8e9fe82d0461fa821b3ec70c83fe76f02eafcb0;p=lyx.git diff --git a/src/mathed/MathData.cpp b/src/mathed/MathData.cpp index 8e1deaba17..a911cc839a 100644 --- a/src/mathed/MathData.cpp +++ b/src/mathed/MathData.cpp @@ -310,8 +310,6 @@ void MathData::draw(PainterInfo & pi, int x, int y) const || x >= bv. workWidth()) return; - - for (size_t i = 0, n = size(); i != n; ++i) { MathAtom const & at = operator[](i); #if 0 @@ -333,10 +331,7 @@ void MathData::draw(PainterInfo & pi, int x, int y) const #endif bv.coordCache().insets().add(at.nucleus(), x, y); at->drawSelection(pi, x, y); - at->setRedrawBackground(false); - lyxerr << "selection draw " << x << " " << y << " " << at->redrawBackground() << std::endl; at->draw(pi, x, y); - //at->setRedrawBackground(true); x += at->width(); } }