mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Add lower corners for BOX_MARKER too
Let's see whether this helps Guillaume. Part of bug #8883.
This commit is contained in:
parent
82fc30138c
commit
cc7917c55c
@ -122,15 +122,12 @@ void drawMarkers(PainterInfo const & pi, MathRow::Element const & e,
|
|||||||
pi.pain.text(l, y + dim.des - namedim.des - 1, e.inset->name(), font);
|
pi.pain.text(l, y + dim.des - namedim.des - 1, e.inset->name(), font);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Lower corners
|
// Lower corners in all cases
|
||||||
if (e.marker == InsetMath::MARKER
|
int const d = y + dim.descent();
|
||||||
|| e.marker == InsetMath::MARKER2) {
|
pi.pain.line(l, d - 3, l, d, pen_color);
|
||||||
int const d = y + dim.descent();
|
pi.pain.line(r, d - 3, r, d, pen_color);
|
||||||
pi.pain.line(l, d - 3, l, d, pen_color);
|
pi.pain.line(l, d, l + 3, d, pen_color);
|
||||||
pi.pain.line(r, d - 3, r, d, pen_color);
|
pi.pain.line(r - 3, d, r, d, pen_color);
|
||||||
pi.pain.line(l, d, l + 3, d, pen_color);
|
|
||||||
pi.pain.line(r - 3, d, r, d, pen_color);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Upper corners
|
// Upper corners
|
||||||
if (e.marker == InsetMath::BOX_MARKER
|
if (e.marker == InsetMath::BOX_MARKER
|
||||||
|
Loading…
Reference in New Issue
Block a user