mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Fix drawing of rectangle in old-style macro editing mode
The width was a bit to short.
This commit is contained in:
parent
ec676a1dec
commit
e0024231d3
@ -764,7 +764,7 @@ void MathMacro::draw(PainterInfo & pi, int x, int y) const
|
||||
y += max(fontDim.des, cdim.des);
|
||||
}
|
||||
|
||||
pi.pain.rectangle(expx, expy - dim.asc + 1, dim.wid - 3,
|
||||
pi.pain.rectangle(expx, expy - dim.asc + 1, dim.wid - 1,
|
||||
dim.height() - 2, Color_mathmacroframe);
|
||||
} else {
|
||||
bool drawBox = lyxrc.macro_edit_style == LyXRC::MACRO_EDIT_INLINE_BOX
|
||||
|
Loading…
Reference in New Issue
Block a user