diff --git a/Clocker.xcodeproj/project.xcworkspace/xcuserdata/abhishekbanthia.xcuserdatad/UserInterfaceState.xcuserstate b/Clocker.xcodeproj/project.xcworkspace/xcuserdata/abhishekbanthia.xcuserdatad/UserInterfaceState.xcuserstate index 26c8017..73aeec9 100644 Binary files a/Clocker.xcodeproj/project.xcworkspace/xcuserdata/abhishekbanthia.xcuserdatad/UserInterfaceState.xcuserstate and b/Clocker.xcodeproj/project.xcworkspace/xcuserdata/abhishekbanthia.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/Clocker/BackgroundView.m b/Clocker/BackgroundView.m index 4540573..f0dceb3 100755 --- a/Clocker/BackgroundView.m +++ b/Clocker/BackgroundView.m @@ -118,6 +118,7 @@ PanelController *controller = delegate.panelController; [controller showOptions:NO]; + [controller removeContextHelpForSlider]; } -(void)updateTrackingAreas diff --git a/Clocker/PanelController.h b/Clocker/PanelController.h index 86990c1..9e452db 100755 --- a/Clocker/PanelController.h +++ b/Clocker/PanelController.h @@ -72,5 +72,6 @@ - (void)closePanel; - (void)updateDefaultPreferences; - (void)showOptions:(BOOL)value; +- (void)removeContextHelpForSlider; @end diff --git a/Clocker/PanelController.m b/Clocker/PanelController.m index 27729a0..ed580b3 100755 --- a/Clocker/PanelController.m +++ b/Clocker/PanelController.m @@ -580,6 +580,31 @@ NSString *const CLTimezoneCellViewIdentifier = @"timeZoneCell"; [self.mainTableview reloadData]; } +- (void)removeContextHelpForSlider +{ + NSEvent *newEvent = [NSEvent mouseEventWithType:NSLeftMouseDown + location:self.window.mouseLocationOutsideOfEventStream + modifierFlags:0 + timestamp:0 + windowNumber:self.window.windowNumber + context:self.window.graphicsContext + eventNumber:0 + clickCount:1 + pressure:0]; + [NSApp postEvent:newEvent atStart:NO]; + newEvent = [NSEvent mouseEventWithType:NSLeftMouseUp + location:self.window.mouseLocationOutsideOfEventStream + modifierFlags:0 + timestamp:0 + windowNumber:self.window.windowNumber + context:self.window.graphicsContext + eventNumber:0 + clickCount:1 + pressure:0]; + + [NSApp postEvent:newEvent atStart:NO]; +} + - (NSString *)getWeekdayFromInteger:(NSInteger)weekdayInteger { if (weekdayInteger > 7) {