Finish split view cursor implementation.

Closes #494.
This commit is contained in:
Ross Boucher committed 2010-03-27 15:47:10 -07:00
1 parent fc628c1221
commit 47bf4c0baa
1 file changed
+6
+6
View File
@@ -433,6 +433,12 @@ var CPSplitViewHorizontalImage = nil,
{
var point = [self convertPoint:[anEvent locationInWindow] fromView:nil];
if ([anEvent type] === CPLeftMouseUp && ![[self window] acceptsMouseMovedEvents])
{
[[CPCursor arrowCursor] set];
return;
}
for (var i = 0, count = [_subviews count] - 1; i < count; i++)
{
// If we are currently tracking, keep the resize cursor active even outside of hit areas.