We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a51cfa commit eb432bcCopy full SHA for eb432bc
CubicBezier/Views/RoundButton.m
@@ -29,6 +29,8 @@ -(void)initUI{
29
self.layer.masksToBounds = YES;
30
self.layer.cornerRadius = RoundButtonDiameter / 2.0;
31
self.backgroundColor = [NSColor whiteColor];
32
+
33
+ [self.window invalidateCursorRectsForView:self];
34
}
35
36
-(void)drawRect:(NSRect)dirtyRect{
@@ -46,4 +48,9 @@ -(void)setShowBorder:(BOOL)showBorder{
46
48
47
49
50
51
+-(void)resetCursorRects {
52
+ [super resetCursorRects];
53
+ [self addCursorRect:self.bounds cursor:[NSCursor pointingHandCursor]];
54
+}
55
56
@end
0 commit comments