[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sc-devel] SCScrollView beachball?



Hi,

Can you send a simple example that causes this?

There's some futzing involved in making SCScrollView behave as expected, so it's possible I've missed a corner case.

S.

On 29 Nov 2007, at 16:18, Jan Trutzschler wrote:

Hi,
i'm adding & removing views from a SCScrollView and at a certain point (i guess when it's trying to hide the scrollbars) SC shows me a beachball ... i paused the debugger and he hangs at

- (void)userScrolled:(NSNotification *)notification
{
// if this happens from a visibleOrigin method we can't use sendMessage, so the action gets called from the lang
	if(!((SCScrollTopView*)mTopView)->isInSetClipViewOrigin()) {
mTopView->sendMessage(s_doaction, 0, 0, 0); // this must be a scroll view
	}
}

i commented the sendMessage out and the beachball does not coming back anymore ...

any ideas?

Jan

_______________________________________________
Sc-devel mailing list
Sc-devel@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-devel