mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Use correct color for selected paragraph labels
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35298 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
58c9d2ed61
commit
eac118ae98
@ -75,7 +75,11 @@ RowPainter::RowPainter(PainterInfo & pi,
|
||||
|
||||
FontInfo RowPainter::labelFont() const
|
||||
{
|
||||
return text_.labelFont(par_);
|
||||
FontInfo f = text_.labelFont(par_);
|
||||
// selected text?
|
||||
if (row_.begin_margin_sel || pi_.selected)
|
||||
f.setPaintColor(Color_selectiontext);
|
||||
return f;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user