aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbhi Beckert <me@abhibeckert.com>2016-06-20 07:37:59 +1000
committerAbhi Beckert <me@abhibeckert.com>2016-06-20 07:37:59 +1000
commit21b8c0ffa221dd650b4c513357b84813f5adc783 (patch)
treefeb3577c75d47a0c804c2a9c668691e307e2f27e
parentee78ced520cef27b67756232e2b86fc20f3b7cae (diff)
downloadsequelpro-21b8c0ffa221dd650b4c513357b84813f5adc783.tar.gz
sequelpro-21b8c0ffa221dd650b4c513357b84813f5adc783.tar.bz2
sequelpro-21b8c0ffa221dd650b4c513357b84813f5adc783.zip
#2472 add tab button no longer moves when you hover
-rw-r--r--Frameworks/PSMTabBar/Styles/PSMSequelProTabStyle.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/Frameworks/PSMTabBar/Styles/PSMSequelProTabStyle.m b/Frameworks/PSMTabBar/Styles/PSMSequelProTabStyle.m
index 619ad953..4329032b 100644
--- a/Frameworks/PSMTabBar/Styles/PSMSequelProTabStyle.m
+++ b/Frameworks/PSMTabBar/Styles/PSMSequelProTabStyle.m
@@ -93,9 +93,9 @@ typedef struct {
sequelProCloseDirtyButtonDown = [[NSImage alloc] initByReferencingFile:[[PSMTabBarControl bundle] pathForImageResource:@"SequelProTabDirty_Pressed"]];
sequelProCloseDirtyButtonOver = [[NSImage alloc] initByReferencingFile:[[PSMTabBarControl bundle] pathForImageResource:@"SequelProTabDirty_Rollover"]];
- _addTabButtonImage = [[NSImage alloc] initByReferencingFile:[[PSMTabBarControl bundle] pathForImageResource:@"AddTabButton"]];
- _addTabButtonPressedImage = [[NSImage alloc] initByReferencingFile:[[PSMTabBarControl bundle] pathForImageResource:@"AddTabButtonPushed"]];
- _addTabButtonRolloverImage = [[NSImage alloc] initByReferencingFile:[[PSMTabBarControl bundle] pathForImageResource:@"AddTabButtonRollover"]];
+ _addTabButtonImage = [[NSImage alloc] initByReferencingFile:[[NSBundle mainBundle] pathForImageResource:@"button_add"]];
+ _addTabButtonPressedImage = [[NSImage alloc] initByReferencingFile:[[NSBundle mainBundle] pathForImageResource:@"button_add"]];
+ _addTabButtonRolloverImage = [[NSImage alloc] initByReferencingFile:[[NSBundle mainBundle] pathForImageResource:@"button_add"]];
_objectCountStringAttributes = [[NSDictionary alloc] initWithObjectsAndKeys:[[NSFontManager sharedFontManager] convertFont:[NSFont fontWithName:@"Helvetica" size:11.0f] toHaveTrait:NSBoldFontMask], NSFontAttributeName,
[[NSColor whiteColor] colorWithAlphaComponent:0.85f], NSForegroundColorAttributeName,