Skip to content
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

Tracking rectangles for traffic lights wrong #8

Open
zenermerps opened this issue Dec 26, 2014 · 1 comment
Open

Tracking rectangles for traffic lights wrong #8

zenermerps opened this issue Dec 26, 2014 · 1 comment

Comments

@zenermerps
Copy link

When using a title bar height that is larger than the default, (i.e. 50), the traffic lights change to hovered state even when moving the mouse on top of the traffic lights (where they normally would be).
After resizing the window, everything behaves correctly. It looks like they still have the old tracking rectangles when the application starts.

@DanielGibbsNZ
Copy link

Try adding the following to the bottom of _setNeedsLayout in WAYWindow.m.

NSView *themeFrame = self.titleBarView.superview.superview;
[themeFrame viewWillStartLiveResize];
[themeFrame viewDidEndLiveResize];

DanielGibbsNZ added a commit to scornflake/WAYWindow that referenced this issue Mar 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants