mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Always paint text decoration when painting inset.
Fixes bug #11402.
(cherry picked from commit 621c908f85
)
This commit is contained in:
parent
bbe7b84f3b
commit
49255788ea
@ -118,6 +118,7 @@ void RowPainter::paintInset(Row::Element const & e) const
|
|||||||
e.inset->drawBackground(pi_, x1, yo_);
|
e.inset->drawBackground(pi_, x1, yo_);
|
||||||
e.inset->drawSelection(pi_, x1, yo_);
|
e.inset->drawSelection(pi_, x1, yo_);
|
||||||
e.inset->draw(pi_, x1, yo_);
|
e.inset->draw(pi_, x1, yo_);
|
||||||
|
paintTextDecoration(e);
|
||||||
|
|
||||||
// Restore full_repaint status.
|
// Restore full_repaint status.
|
||||||
pi_.full_repaint = pi_full_repaint;
|
pi_.full_repaint = pi_full_repaint;
|
||||||
@ -585,7 +586,6 @@ void RowPainter::paintText()
|
|||||||
|
|
||||||
case Row::INSET:
|
case Row::INSET:
|
||||||
paintInset(e);
|
paintInset(e);
|
||||||
paintTextDecoration(e);
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Row::SPACE:
|
case Row::SPACE:
|
||||||
|
@ -216,6 +216,7 @@ What's new
|
|||||||
- Handle some cases where the change bar in the margin did not get updated
|
- Handle some cases where the change bar in the margin did not get updated
|
||||||
(bug 11396).
|
(bug 11396).
|
||||||
|
|
||||||
|
- Handle some cases where underline across insets did not painted (bug 11402).
|
||||||
|
|
||||||
|
|
||||||
* INTERNALS
|
* INTERNALS
|
||||||
|
Loading…
Reference in New Issue
Block a user