aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPColorSelectorView.m
diff options
context:
space:
mode:
authorMax <dmoagx@users.noreply.github.com>2018-01-20 01:42:29 +0100
committerMax <dmoagx@users.noreply.github.com>2018-01-20 02:42:36 +0100
commitb04243d4d7befb33383d434fe05ea3d7915ef27d (patch)
tree3e31a73be868a584e97a5c084252f5eeaeb4e837 /Source/SPColorSelectorView.m
parentdb2bdd8b53cede1bddde85e1527246d8e52f0fa2 (diff)
downloadsequelpro-b04243d4d7befb33383d434fe05ea3d7915ef27d.tar.gz
sequelpro-b04243d4d7befb33383d434fe05ea3d7915ef27d.tar.bz2
sequelpro-b04243d4d7befb33383d434fe05ea3d7915ef27d.zip
merge and restructure remaining smaller stuff in main project (part of #2789)
Diffstat (limited to 'Source/SPColorSelectorView.m')
-rw-r--r--Source/SPColorSelectorView.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPColorSelectorView.m b/Source/SPColorSelectorView.m
index ba577170..15c55f57 100644
--- a/Source/SPColorSelectorView.m
+++ b/Source/SPColorSelectorView.m
@@ -43,7 +43,7 @@
#import "SPColorSelectorView.h"
#import "SPOSInfo.h"
-@interface SPColorSelectorView (Private)
+@interface SPColorSelectorView ()
- (void)setupTrackingAreas;
- (void)_drawDotBevelStyleWithGradient:(NSGradient *)gradient insideRect:(NSRect)colorSquareRect;
@@ -414,7 +414,7 @@ enum trackingAreaIDs
}
if (delegate != nil && [delegate respondsToSelector:@selector(colorSelectorDidChange:)]) {
- [delegate colorSelectorDidChange:self];
+ [(id<SPColorSelectorViewDelegate>)delegate colorSelectorDidChange:self];
}
[self setNeedsDisplay:YES];