-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bad window button positioning on Yosemite #194
Comments
I also get this issue, and the same behaviour is observed when buttons are in traffic light mode, i.e. they don't change to traffic lights until the window is moved. |
Quick (and dirty) workaround until a fix becomes available: __unsafe_unretained typeof (self) weakSelf = self;
self.window.titleBarDrawingBlock = ^(BOOL drawsAsMainWindow, CGRect drawingRect, CGRectEdge rectEdge, CGPathRef clippingPath) {
[[NSNotificationCenter defaultCenter] postNotificationName:NSWindowDidMoveNotification object:weakSelf.window];
} |
Same issue here. 👍 One other thing to note: It fixes itself when you move (or resign/make key) the window, yet the buttons' tracking area stays in the wrong location. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've run my app (built on Xcode 6.1) on Yosemite, and I've noticed that the three buttons in the top-left are positioned incorrectly - they sit in the top-left part of the title bar like in standard apps, and they jump to center-left of the bar when the window is moved. Is this a known issue (or something you've fixed on master)?
The text was updated successfully, but these errors were encountered: