mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
rowpainter.cpp: remove hack introduced in r35299
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35440 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
bfd5447fdd
commit
85a40507e4
@ -103,9 +103,6 @@ void RowPainter::paintInset(Inset const * inset, pos_type const pos)
|
||||
// requires a full repaint
|
||||
bool pi_full_repaint = pi_.full_repaint;
|
||||
|
||||
// FIXME: text_metrics_.width() is only about 1.0857 * mi.base.textwidth
|
||||
pi_.base.textwidth = text_metrics_.width();
|
||||
|
||||
// FIXME: We should always use font, see documentation of
|
||||
// noFontChange() in Inset.h.
|
||||
pi_.base.font = inset->noFontChange() ?
|
||||
|
Loading…
Reference in New Issue
Block a user