]> git.lyx.org Git - lyx.git/commit
Try to fix #4889 in the right way
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 19 Jul 2016 22:12:21 +0000 (00:12 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 19 Jul 2016 22:24:24 +0000 (00:24 +0200)
commit9940acc5063d17f18f50c690085c7d97f25d909d
tree949a12314696efd1fc5bc7678735d49cb0641a74
parente35110eab7a540deaf8dc52483f1e5a55a773f46
Try to fix #4889 in the right way

For reference, the bug was that quote insets grew bolder because, when
painted over themselves, anti-aliasing made them darker.

It turned out that the fix there created others than were
painstakingly fixed: #7164, #7165, #7174, #7193... More recently, it
created other problems:
http://article.gmane.org/gmane.editors.lyx.devel/163471

We use the right fix here:
* draw background of quote inset when not doing full repaint
* draw background of math macro template when not doing full repaint
* remove hack that grew from #4889 fix.
src/RowPainter.cpp
src/insets/InsetQuotes.cpp
src/insets/InsetQuotes.h
src/mathed/MathMacroTemplate.cpp
src/mathed/MathMacroTemplate.h