mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +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);
|
||||
}
|
||||
|
||||
// Lower corners
|
||||
if (e.marker == InsetMath::MARKER
|
||||
|| e.marker == InsetMath::MARKER2) {
|
||||
int const d = y + dim.descent();
|
||||
pi.pain.line(l, d - 3, l, d, pen_color);
|
||||
pi.pain.line(r, d - 3, r, d, pen_color);
|
||||
pi.pain.line(l, d, l + 3, d, pen_color);
|
||||
pi.pain.line(r - 3, d, r, d, pen_color);
|
||||
}
|
||||
// Lower corners in all cases
|
||||
int const d = y + dim.descent();
|
||||
pi.pain.line(l, d - 3, l, d, pen_color);
|
||||
pi.pain.line(r, d - 3, 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
|
||||
if (e.marker == InsetMath::BOX_MARKER
|
||||
|
Loading…
Reference in New Issue
Block a user