]> git.lyx.org Git - lyx.git/commit
Fix repaint of unselected paragraph label
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:43:53 +0000 (09:43 +0100)
commitf66807dd8099137a53fa8480173c09fc96a57b94
tree4f2c6b053a01a04c0397ad7cf96e44cf1f95bd67
parenta1d643131a36be11220596b5bcdaf36c767264a3
Fix repaint of unselected paragraph label

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.

(cherry picked from commit 9bec4b8a0ababb6b18c41df946fcf7e893100d94)
src/RowPainter.cpp
status.22x