diff options
author | rowanbeentje <rowan@beent.je> | 2010-07-20 00:03:15 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-07-20 00:03:15 +0000 |
commit | 17c39170ace58e9169ad3b183793dba9af07dd21 (patch) | |
tree | d79fdaf611bf61033b2eb616857e9c359b29bdc4 /Frameworks/PSMTabBar | |
parent | a5f4c3274ac06be78f78200ae486037e9b1a8910 (diff) | |
download | sequelpro-17c39170ace58e9169ad3b183793dba9af07dd21.tar.gz sequelpro-17c39170ace58e9169ad3b183793dba9af07dd21.tar.bz2 sequelpro-17c39170ace58e9169ad3b183793dba9af07dd21.zip |
Tab tweaks:
- Sheets now appear positioned underneath the tab bar if visible
- Tweak bottom corner drawing for a clearer outline, without highlight overlay
- Frontmost tab no longer displays server name in the tab
Also fix exception when right-clicking on an index to reset auto-increment.
Diffstat (limited to 'Frameworks/PSMTabBar')
-rw-r--r-- | Frameworks/PSMTabBar/Styles/PSMSequelProTabStyle.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Frameworks/PSMTabBar/Styles/PSMSequelProTabStyle.m b/Frameworks/PSMTabBar/Styles/PSMSequelProTabStyle.m index c7f7a67e..9ec84db8 100644 --- a/Frameworks/PSMTabBar/Styles/PSMSequelProTabStyle.m +++ b/Frameworks/PSMTabBar/Styles/PSMSequelProTabStyle.m @@ -579,18 +579,18 @@ if ([cell state] == NSOnState) { outlineBezier = [NSBezierPath bezierPath]; if (drawLeftEdge) { - [outlineBezier appendBezierPathWithArcWithCenter:bottomLeftArcCenter radius:kPSMSequelProTabCornerRadius startAngle:180 endAngle:90 clockwise:YES]; + [outlineBezier appendBezierPathWithArcWithCenter:bottomLeftArcCenter radius:kPSMSequelProTabCornerRadius startAngle:145 endAngle:90 clockwise:YES]; } else { [outlineBezier moveToPoint:NSMakePoint(aRect.origin.x, aRect.origin.y + aRect.size.height - 0.5)]; } if (drawRightEdge) { - [outlineBezier appendBezierPathWithArcWithCenter:bottomRightArcCenter radius:kPSMSequelProTabCornerRadius startAngle:90 endAngle:0 clockwise:YES]; + [outlineBezier appendBezierPathWithArcWithCenter:bottomRightArcCenter radius:kPSMSequelProTabCornerRadius startAngle:90 endAngle:35 clockwise:YES]; } else { [outlineBezier lineToPoint:NSMakePoint(aRect.origin.x + aRect.size.width, aRect.origin.y + aRect.size.height - 0.5)]; } shadow = [[NSShadow alloc] init]; [shadow setShadowBlurRadius:1]; - [shadow setShadowColor:[NSColor colorWithCalibratedWhite:1.0 alpha:0.3]]; + [shadow setShadowColor:[NSColor colorWithCalibratedWhite:1.0 alpha:0.4]]; [shadow setShadowOffset:NSMakeSize(0, 1)]; [shadow set]; [outlineBezier stroke]; |