From 67af1bc7fe869dd3fbdc56e684a5f09f7705bd02 Mon Sep 17 00:00:00 2001 From: Allan Odgaard Date: Wed, 6 Feb 2013 16:33:03 +0100 Subject: [PATCH] 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). --- Frameworks/OakAppKit/src/OakAppKit.mm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Frameworks/OakAppKit/src/OakAppKit.mm b/Frameworks/OakAppKit/src/OakAppKit.mm index 8c6e0108..89683dd8 100644 --- a/Frameworks/OakAppKit/src/OakAppKit.mm +++ b/Frameworks/OakAppKit/src/OakAppKit.mm @@ -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)