Browse Source

Future Slider Reset Bug.

v1.4.1
Abhishek Banthia 8 years ago
parent
commit
224b21b6aa
  1. 2
      Clocker/CLParentPanelController.h
  2. 2
      Clocker/CLParentPanelController.m
  3. 1
      Clocker/Floating Window/CLFloatingWindowController.m
  4. 3
      Clocker/PanelController.m

2
Clocker/CLParentPanelController.h

@ -9,6 +9,7 @@
#import <Cocoa/Cocoa.h>
#import "CLOneWindowController.h"
#import "CLAppFeedbackWindowController.h"
#import "CLTableViewDataSource.h"
@interface CLParentPanelController : NSWindowController<NSWindowDelegate, NSTableViewDataSource, NSTableViewDelegate>
@ -27,6 +28,7 @@
@property (weak) IBOutlet NSTableView *mainTableview;
@property (weak) IBOutlet NSLayoutConstraint *scrollViewHeight;
@property (nonatomic, strong) CLOneWindowController *oneWindow;
@property (strong) CLTableViewDataSource *timezoneDataSource;
@property (weak, nonatomic) IBOutlet NSImageView *imageView;
@property (weak, nonatomic) IBOutlet NSTextField *leftField;

2
Clocker/CLParentPanelController.m

@ -12,7 +12,6 @@
#import "CLOneWindowController.h"
#import <pop/POP.h>
#import "iRate.h"
#import "CLTableViewDataSource.h"
#import <Crashlytics/Crashlytics.h>
#import "ApplicationDelegate.h"
#import <Crashlytics/Crashlytics.h>
@ -29,7 +28,6 @@ typedef NS_ENUM(NSUInteger, CLClockerMode) {
};
@interface CLParentPanelController ()
@property (strong) CLTableViewDataSource *timezoneDataSource;
@end
@implementation CLParentPanelController

1
Clocker/Floating Window/CLFloatingWindowController.m

@ -130,6 +130,7 @@ NSString *const CLTimezoneCellIdentifier = @"timeZoneCell";
-(void)windowWillClose:(NSNotification *)notification
{
self.futureSliderValue = 0;
self.timezoneDataSource.futureSliderValue = 0;
if (self.floatingWindowTimer)
{

3
Clocker/PanelController.m

@ -205,6 +205,8 @@ static PanelController *sharedPanel = nil;
- (void)openPanel
{
[Answers logCustomEventWithName:@"openedPanel" customAttributes:@{}];
NSPoint mouseLoc = [NSEvent mouseLocation];
NSEnumerator *screenEnum = [[NSScreen screens] objectEnumerator];
NSScreen *screen;
@ -212,6 +214,7 @@ static PanelController *sharedPanel = nil;
[screen frame], NO));
self.futureSliderValue = 0;
self.timezoneDataSource.futureSliderValue = 0;
self.reviewView.hidden = !self.showReviewCell;

Loading…
Cancel
Save