Always paint text decoration when painting inset.

Fixes bug #11402.

(cherry picked from commit 621c908f85)
This commit is contained in:
Jean-Marc Lasgouttes 2019-05-23 11:30:35 +02:00
parent bbe7b84f3b
commit 49255788ea
2 changed files with 2 additions and 1 deletions

View File

@ -118,6 +118,7 @@ void RowPainter::paintInset(Row::Element const & e) const
e.inset->drawBackground(pi_, x1, yo_);
e.inset->drawSelection(pi_, x1, yo_);
e.inset->draw(pi_, x1, yo_);
paintTextDecoration(e);
// Restore full_repaint status.
pi_.full_repaint = pi_full_repaint;
@ -585,7 +586,6 @@ void RowPainter::paintText()
case Row::INSET:
paintInset(e);
paintTextDecoration(e);
break;
case Row::SPACE:

View File

@ -216,6 +216,7 @@ What's new
- Handle some cases where the change bar in the margin did not get updated
(bug 11396).
- Handle some cases where underline across insets did not painted (bug 11402).
* INTERNALS