Re: [SOLVED] progress indicator strange partial overlay
Re: [SOLVED] progress indicator strange partial overlay
- Subject: Re: [SOLVED] progress indicator strange partial overlay
- From: Graham Cox <email@hidden>
- Date: Sun, 16 Feb 2014 17:09:17 +1100
On 16 Feb 2014, at 4:36 am, Nick Rogers <email@hidden> wrote:
> The about last 30% of the length of the progress bar was passed onto the drawRect: of the blue background custom view as dirtyRect.
> Wonder what causes it.
Probably because neither the progress view or your other view returns YES from -isOpaque, therefore when the progress invalidates its dirty rect is also passed to the views behind it. Not sure why it's just that end portion though, I would have expected the dirty rect to at least include the end of the filled progress bar.
--Graham
_______________________________________________
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