-
Notifications
You must be signed in to change notification settings - Fork 35
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
feature: clear_vibrancy, NSVisualEffectViewTagged #169
feature: clear_vibrancy, NSVisualEffectViewTagged #169
Conversation
…w; implement a NSVisualEffectView subview with tag for matching the blurred view in the window; add IntelliJ IDEA and macOS-specific files to gitignore
a3471d8
to
7174bf4
Compare
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.
Just moved from macos.rs
to macos/mod.rs
+ macos/internal.rs
+ macos/ns_visual_effect_view_tagged.rs
.
Public API contract of this crate is not affected
btw @amrbashir is this separate repo deprecated or not? we can merge this PR and I can prepare another one for tauri, if it makes sense |
It is not deprecated, tauri uses it under the hood. The file you linked, just does some conversions from tauri types to this crate types. |
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.
Could you add a change file in .changes directory?
---
"window-vibrancy": "patch:bug"
---
Add `clear_vibrancy` function on macOS.
@amrbashir thanks, added 🫡 Btw, I added this as a |
Once merged, this PR will:
NSVisualEffectView
with a custom tag, to find the view in the windowclear_vibrancy
(similar to the existingclear_blur
,clear_mica
, etc.) by finding the custom blurred view and removing it from the windowTested on macOS 15.3 ✅