From 7117bbc7aa905ae785fa564cb24c3fc75ef1d543 Mon Sep 17 00:00:00 2001 From: oldosfan Date: Mon, 18 Oct 2021 08:09:40 +0800 Subject: [PATCH] Revert "Fix erasing cursor on top of raised boxes in NS port" This reverts commit 960f0eb9ab657af85c532574b937d8851049b178. --- src/nsterm.m | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/nsterm.m b/src/nsterm.m index 8ee5c03b97e..ed0e7a2aae8 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -3510,12 +3510,6 @@ ns_draw_relief (NSRect outer, int hthickness, int vthickness, char raised_p, [(raised_p ? lightCol : darkCol) set]; - if (top_p) - { - NSRectFill (NSMakeRect (NSMinX (outer), NSMinY (outer), - NSWidth (outer), hthickness)); - } - if (top_p || left_p) { NSBezierPath *p = [NSBezierPath bezierPath]; @@ -3555,12 +3549,6 @@ ns_draw_relief (NSRect outer, int hthickness, int vthickness, char raised_p, [p closePath]; [p fill]; } - - if (bottom_p) - { - NSRectFill (NSMakeRect (NSMinX (outer), NSMaxY (inner), - NSWidth (outer), hthickness)); - } } -- 2.39.5