Fix text decoration display on stretch glyphs with no box on NS
* src/nsterm.m (ns_dumpglyphs_stretch): Draw decorations if there is no box.
This commit is contained in:
@@ -3793,7 +3793,7 @@ ns_dumpglyphs_stretch (struct glyph_string *s)
|
||||
then decorations will be drawn after drawing the box in
|
||||
ns_draw_glyph_string, in order to prevent them from being
|
||||
overwritten by the box. */
|
||||
if (s->face->box != FACE_NO_BOX)
|
||||
if (s->face->box == FACE_NO_BOX)
|
||||
ns_draw_text_decoration (s, face, fgCol, NSWidth (glyphRect),
|
||||
NSMinX (glyphRect));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user