I have a document based Cocoa App and I am trying to understand what is causing
these residual lines to happen. Attached is a link to what I am referring to.
The solid blue lines are the new lines after they have moved. The greyish
lines are what's being left behind. http://dl.dropbox.com/u/5614061/Screen shot
2010-07-29 at 1.08.36 PM.png. Notice they look like borders from the old lines.
The Class structure is(as seen by FScript):
NSThemeFrame
NSView (ContentView)
MyView
I am setting the ContentView's window to setBackgroundColor: clearColor and
setOpaque:NO. And in the .png, the opacity is 0.0. If I set the opacity to
1.0, the greyish lines are hidden but adjusting to 0.0 will cause them to be
revealed(the same one. i.e. I only change the opacity and not move the lines).
I am getting the drawRect calls due to me calling setNeedsDisplay:YES during
observing the keypath changes to grid values.
Not sure what other information is needed. Please let me know,
Thanks in advance,
-Tony
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]