Closed zhouyangtingwen closed 1 year ago
Hello @zhouyangtingwen,
Comment out lines (384 to 385) to prevent the panel from hiding. https://github.com/ahkohd/tauri-macos-spotlight-example/blob/c5507f5e28c6ac1a1e9bca3e28897efe63e2c37a/src-tauri/src/spotlight.rs#L385
Hello @zhouyangtingwen,
Comment out lines (384 to 385) to prevent the panel from hiding.
thank you so much @ahkohd
Now, when the focus leaves the NSPanel window, the NSPanel window will be hidden. How to prevent the NSPanel from being hidden when the focus leaves the NSPanel window? @ahkohd