Permalink
Browse files

Revert changes that should not have been committed

  • Loading branch information...
dmoagx committed Jan 2, 2019
1 parent 16180f9 commit d78907bd2bffbc8ae02503dc9c796b5de623c3ad
@@ -16,19 +16,19 @@
}

// the regular image
- (void)setUsualImage:(NSImage *)newImage;
- (NSImage *)usualImage;
- (void)setUsualImage:(nullable NSImage *)newImage;
- (nullable NSImage *)usualImage;

// the rollover image
- (void)setRolloverImage:(NSImage *)newImage;
- (NSImage *)rolloverImage;
- (void)setRolloverImage:(nullable NSImage *)newImage;
- (nullable NSImage *)rolloverImage;

// tracking rect for mouse events
- (void)rolloverFrameDidChange:(NSNotification *)notification;
- (void)rolloverFrameDidChange:(nonnull NSNotification *)notification;
- (void)addTrackingRect;
- (void)removeTrackingRect;

- (void)mouseEntered:(NSEvent *)event;
- (void)mouseExited:(NSEvent *)event;
- (void)mouseEntered:(nullable NSEvent *)event;
- (void)mouseExited:(nullable NSEvent *)event;

@end
@@ -118,15 +118,15 @@ - (void)removeTrackingRect
}

// override for rollover effect
- (void)mouseEntered:(NSEvent *)event
- (void)mouseEntered:(nullable NSEvent *)event
{
// set rollover image
[self setImage:_rolloverImage];

[super mouseEntered:event];
}

- (void)mouseExited:(NSEvent *)event
- (void)mouseExited:(nullable NSEvent *)event
{
// restore usual image
[self setImage:_usualImage];
@@ -838,7 +838,6 @@
17FDB04A1280778B00DBBBC2 /* SPFontPreviewTextField.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SPFontPreviewTextField.h; sourceTree = "<group>"; };
17FDB04B1280778B00DBBBC2 /* SPFontPreviewTextField.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SPFontPreviewTextField.m; sourceTree = "<group>"; };
1A56463D14569A0B56EE8BAC /* SPPillAttachmentCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SPPillAttachmentCell.m; sourceTree = "<group>"; };
1A564A1EAE00579AF066FF7C /* CODE-STYLE.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = "CODE-STYLE.md"; sourceTree = "<group>"; };
1A564C0C0FFB444D2E5CA447 /* SPPillAttachmentCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SPPillAttachmentCell.h; sourceTree = "<group>"; };
296DC89E0F8FD336002A3258 /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = /System/Library/Frameworks/WebKit.framework; sourceTree = "<absolute>"; };
296DC8A50F909194002A3258 /* MGTemplateMarker.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGTemplateMarker.h; sourceTree = "<group>"; };
@@ -2304,7 +2303,6 @@
1761FD9C0EF0486A00331368 /* Scripts */,
2A37F4C3FDCFA73011CA2CEA /* Frameworks */,
19C28FB0FE9D524F11CA2CBB /* Products */,
1A564A1EAE00579AF066FF7C /* CODE-STYLE.md */,
);
name = "sequel-pro";
sourceTree = "<group>";

0 comments on commit d78907b

Please sign in to comment.