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

improve always on top behavior #580

Merged
merged 1 commit into from
Apr 17, 2017
Merged

Conversation

lhc70000
Copy link
Member

@lhc70000 lhc70000 merged commit ffab78d into develop Apr 17, 2017
@lhc70000 lhc70000 deleted the improve-always-float-on-top branch April 17, 2017 22:22
@@ -538,6 +539,11 @@ class MainWindowController: NSWindowController, NSWindowDelegate {
}
}

case PK.alwaysFloatOnTop:
if let newValue = change[NSKeyValueChangeKey.newKey] as? Bool {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(newValue = change[NSKeyValueChangeKey.newKey] as? Bool).flatMap { 
	setWindowFloatingOnTop($0)
}

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

Successfully merging this pull request may close these issues.

None yet

2 participants