mirror of
https://github.com/kunkunsh/kunkun-ext-neohtop.git
synced 2025-04-11 17:29:45 +00:00
blur only work on windows and mac
This commit is contained in:
parent
ea9ae41f49
commit
9c7b1f00c4
@ -303,7 +303,7 @@ fn setup_window_effects(window: &tauri::WebviewWindow) -> Result<(), Box<dyn std
|
|||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(target_os = "windows"))]
|
#[cfg(target_os = "macos")]
|
||||||
fn setup_window_effects(window: &tauri::WebviewWindow) -> Result<(), Box<dyn std::error::Error>> {
|
fn setup_window_effects(window: &tauri::WebviewWindow) -> Result<(), Box<dyn std::error::Error>> {
|
||||||
apply_vibrancy(
|
apply_vibrancy(
|
||||||
window,
|
window,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user