Make divider lines opaque

Without this, it is possible to move the window when clicking directly on the line (since none of the parent views are opaque).
This commit is contained in:
Allan Odgaard
2013-02-06 16:33:03 +01:00
parent 22465873ac
commit 67af1bc7fe

View File

@@ -47,6 +47,11 @@ NSString* const OakCursorDidHideNotification = @"OakCursorDidHideNotification";
self.borderColor = flag ? self.primaryColor : self.secondaryColor;
}
}
- (BOOL)isOpaque
{
return YES;
}
@end
static OakDividerLineView* OakCreateDividerLineWithColor (NSColor* color, NSColor* secondaryColor)