You never could assume mouse coordinates were always integral. Tablets for 
example output non-integral mouse coordinates and have since 10.2. In Lion, hi 
res mice (such as Apple's trackpads and Magic Mice) will output non-integral 
mouse coordinates as well.

-raleigh

On Aug 19, 2011, at 12:14 PM, Seth Willits wrote:

> 
> Sweet. Thanks.
> 
> It turned out to be non-integral frame of the scrollview's content view. 
> Oddly, the scrollview itself had an integral frame, and it's the scrollview's 
> frame that I set to be non-integral accidentally, through my custom split 
> view. The non-integral numbers comes from the mouse dragged event. I noticed 
> this somewhere else; it seems that mouse dragged events now have fractional 
> values in Lion. 
> 
> 
> -- Seth
> 
> 
> 
> 
> On Aug 19, 2011, at 9:48 AM, Raleigh Ledet wrote:
> 
>> A) Does the scrollview overlap your side view by a pixel or more?
>> B) What is the frame of the scrollview? Is it integral?
>> 
>> -raleigh
>> 
>> 
>> On Aug 18, 2011, at 5:23 PM, Seth Willits wrote:
>> 
>>> 
>>> I have an NSTableView in a scrollview, and on Lion it's now smearing all of 
>>> the drawing when scrolling:
>>> http://sethwillits.com/temp/upshot/upshot_nHnDbrLB.jpg
>>> 
>>> 
>>> Some things to note:
>>> 
>>> 
>>> A) This doesn't happen on Snow Leopard
>>> B) Yes, I am using a custom cell in the table view, but using a standard 
>>> NSTextFieldCell has the same problem
>>> C) [[tableView enclosingScrollView] setCopiesOnScroll:NO]  "fixes" it
>>> D) copiesOnScroll is YES on Snow Leopard
>>> E) For some reason it seems to only happen when scrolling new rows in from 
>>> the top (scrolling up)
>>> 
>>> 
>>> Any ideas? I'm really stumped on why this is broken all of a sudden.
>>> 
>>> 
>>> --
>>> Seth Willits
> _______________________________________________
> 
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/ledet%40apple.com
> 
> This email sent to le...@apple.com

_______________________________________________

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

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

Reply via email to