-
Notifications
You must be signed in to change notification settings - Fork 286
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
feat(window): add setEffects
API
#392
Conversation
@@ -71,6 +71,11 @@ pub fn run() { | |||
.decorations(false); | |||
} | |||
|
|||
#[cfg(target_os = "macos")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not windows as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Windows is already handled on the block above.
* | ||
* @since 2.0 | ||
*/ | ||
async clearEffects(): Promise<void> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add an explicit clear effects method on tauri's side? Instead of relying on None?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think setting None is quite idiomatic for Rust isn't it? For JavaScript it looks weird..
Ref tauri-apps/tauri#6442
Needs alpha.10 :)