> On Feb 20, 2017, at 2:41 AM, Yilei He <lionhy...@gmail.com> wrote:
> 
> 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.

Can you share your draw(in:) implementation?

> 
> 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 (Cocoa-dev@lists.apple.com)
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/david.duncan%40apple.com
> 
> This email sent to david.dun...@apple.com

--
David Duncan


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to