Skip to content

Conversation

@tuyafeng
Copy link

Hi ianyh,

Thank you for your hard work! Your app is truly fantastic. However, I've encountered a minor issue. While using it, I noticed that the behavior of floating windows seems to be influenced by the order of rules. For instance, consider the following rules:

* (With title rules, such as "MI 6")
com.apple.finder

In this setup, the first rule takes precedence, causing Finder windows to be unable to float properly. However, if I rearrange the rules like so:

com.apple.finder
* (With title rules, such as "MI 6")

Everything works perfectly fine. Therefore, I made a small adjustment accordingly. Since I'm not proficient in Swift, please feel free to correct any mistakes. Once again, thank you for creating such a wonderful app!

@tuyafeng tuyafeng requested a review from ianyh July 23, 2024 04:00
@tuyafeng
Copy link
Author

I adjusted the judgment to move the wild card to the end.

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.

2 participants