Re: NSGradient & NSTextField’s focus ring

2017-02-20 Thread Yilei He
Hi David Thank you! Your point is correct. Cheers Yilei He On 21 Feb 2017, 8:48 AM +1100, David Duncan , wrote: > > > On Feb 20, 2017, at 1:44 PM, Yilei He wrote: > > > > My whole view's code: > > import Cocoa > > > > class GradientBackgroundV

Re: NSGradient & NSTextField’s focus ring

2017-02-20 Thread Yilei He
path = NSBezierPath() path.move(to: NSPoint(x: 0, y: 0)) path.line(to: NSPoint(x: dirtyRect.maxX, y: 0)) NSColor.darkGray.setStroke() path.stroke() } } Cheers Yilei He On 21 Feb 2017, 04:18 +1100, David Duncan , wrote: > > > On Feb 20, 2017, at 2:41 AM, Yilei He wrote: > > > >

NSGradient & NSTextField’s focus ring

2017-02-20 Thread Yilei He
for a while, I found that the focus ring only leaves marks on gradient. Can anyone give a solution to remove the mark? Thanks Yilei He ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to