Closed MadsFrost closed 1 year ago
You have to provide a "state" arg in the apply_vibrancy function. Something like this
apply_vibrancy(&window, NSVisualEffectMaterial::HudWindow, Some(NSVisualEffectState::Active), None);
You have to provide a "state" arg in the apply_vibrancy function. Something like this
apply_vibrancy(&window, NSVisualEffectMaterial::HudWindow, Some(NSVisualEffectState::Active), None);
Ah thank you @FabianLars
Hi, how do I fix the apply_vibrancy on "non-focused" the window goes back to not being transparent?
"apply_vibrancy(&window, NSVisualEffectMaterial::HudWindow, None, None)"
Examples attached: Non-focused:
Focused: