mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
There was no need to use ColorChanger after all :)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35334 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
24fcbd6f0c
commit
e54376ebd6
@ -152,7 +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.base.font.setColor(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