]> git.lyx.org Git - features.git/commit
Fix repaint of unselected branch
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 15 Jan 2018 16:23:48 +0000 (17:23 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 16 Jan 2018 08:37:30 +0000 (09:37 +0100)
commit9bec4b8a0ababb6b18c41df946fcf7e893100d94
tree8ca002730d1722cec3137570d511a87cda5713dc
parent6c6ce3bca38485ce305e6f15ec03ac35b7c2734e
Fix repaint of unselected branch

This works around a TextMetrics issue where Row::beg/end_margin_sel
are sometimes not reset correctly when there is no selection on the
row.

In master a fix for this problem has been done at 654cded1. Here we
prefer a much simpler work around that fixes the symptom.

Fixes bug #10972.
src/RowPainter.cpp