From 49255788ea155a8b7a0dab8e8e69ce1219c11084 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Thu, 23 May 2019 11:30:35 +0200 Subject: [PATCH] Always paint text decoration when painting inset. Fixes bug #11402. (cherry picked from commit 621c908f85650cc086b1d155062885eba016d1fa) --- src/RowPainter.cpp | 2 +- status.23x | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/RowPainter.cpp b/src/RowPainter.cpp index 3f367ce4d1..cc3ea895d5 100644 --- a/src/RowPainter.cpp +++ b/src/RowPainter.cpp @@ -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: diff --git a/status.23x b/status.23x index 7bd3ebbcc7..3d5481a77f 100644 --- a/status.23x +++ b/status.23x @@ -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