NSGradient & NSTextField’s focus ring
NSGradient & NSTextField’s focus ring
- Subject: NSGradient & NSTextField’s focus ring
- From: Yilei He <email@hidden>
- Date: Mon, 20 Feb 2017 21:41:43 +1100
Hi
In my UI design, I have a custom NSView which only draws a NSGradient in draw(in:) method. I also have a NSTextField next to this custom view. Every time when text field is focused, the focus ring animates and leave a set of mark(animation tracks) on the custom view.
After I tested this 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 (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden