mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
When selecting, get the label color of caption inset right.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35332 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6d4709d46c
commit
2d278665dc
@ -152,6 +152,7 @@ void InsetCaption::draw(PainterInfo & pi, int x, int y) const
|
||||
|
||||
FontInfo tmpfont = pi.base.font;
|
||||
pi.base.font = pi.base.bv->buffer().params().getFont().fontInfo();
|
||||
ColorChanger dummy(pi.base.font, pi.textColor(pi.base.font.color()).baseColor);
|
||||
pi.pain.text(x, y, full_label_, pi.base.font);
|
||||
InsetText::draw(pi, x + labelwidth_, y);
|
||||
pi.base.font = tmpfont;
|
||||
|
Loading…
Reference in New Issue
Block a user