aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/PSMTabBar/PSMTabBarController.m
diff options
context:
space:
mode:
authorStuart Connolly <stuart02@gmail.com>2017-03-26 23:01:20 +0100
committerStuart Connolly <stuart02@gmail.com>2017-03-26 23:01:20 +0100
commit044789b21056562bacd81fa6aafd76c091f00d69 (patch)
tree04d99f6da35b7002696626cdddb558f62538f892 /Frameworks/PSMTabBar/PSMTabBarController.m
parent2aad505ec144b83123296c9bc4bad7c0e43753ef (diff)
downloadsequelpro-044789b21056562bacd81fa6aafd76c091f00d69.tar.gz
sequelpro-044789b21056562bacd81fa6aafd76c091f00d69.tar.bz2
sequelpro-044789b21056562bacd81fa6aafd76c091f00d69.zip
Update tab view drawing to match the style used by 10.12's automatic tabs and remove unused tab styles.
Issues still to address: - Add tab button does not darken when moused over - The tab overflow button is being clipped and the image is not high res
Diffstat (limited to 'Frameworks/PSMTabBar/PSMTabBarController.m')
-rw-r--r--Frameworks/PSMTabBar/PSMTabBarController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Frameworks/PSMTabBar/PSMTabBarController.m b/Frameworks/PSMTabBar/PSMTabBarController.m
index eddf4174..53f11c63 100644
--- a/Frameworks/PSMTabBar/PSMTabBarController.m
+++ b/Frameworks/PSMTabBar/PSMTabBarController.m
@@ -214,7 +214,7 @@
_addButtonRect.size = [[_control addTabButton] frame].size;
if ([_control orientation] == PSMTabBarHorizontalOrientation) {
_addButtonRect.origin.y = MARGIN_Y;
- _addButtonRect.origin.x += [[cellWidths valueForKeyPath:@"@sum.floatValue"] floatValue] + MARGIN_X;
+ _addButtonRect.origin.x += [[cellWidths valueForKeyPath:@"@sum.floatValue"] floatValue] + MARGIN_X;
} else {
_addButtonRect.origin.x = 0;
_addButtonRect.origin.y = [[cellWidths lastObject] floatValue];