From 47276db3fb534c6918317933b9592d3fc75c3be6 Mon Sep 17 00:00:00 2001 From: NoPlagiarism <37241775+NoPlagiarism@users.noreply.github.com> Date: Wed, 13 Nov 2024 21:21:27 +0500 Subject: [PATCH] change acrylic to blur --- src-tauri/src/ui/window.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src-tauri/src/ui/window.rs b/src-tauri/src/ui/window.rs index 37f0c8b..02acf56 100644 --- a/src-tauri/src/ui/window.rs +++ b/src-tauri/src/ui/window.rs @@ -5,14 +5,14 @@ use tauri::WebviewWindow; #[cfg(target_os = "windows")] -use window_vibrancy::apply_acrylic; +use window_vibrancy::apply_blur; #[cfg(target_os = "macos")] use window_vibrancy::{apply_vibrancy, NSVisualEffectMaterial, NSVisualEffectState}; /// Applies Windows-specific window effects #[cfg(target_os = "windows")] pub fn setup_window_effects(window: &WebviewWindow) -> Result<(), Box> { - apply_acrylic(window, Some((0, 0, 25, 125)))?; + apply_blur(window, Some((0, 0, 25, 125)))?; Ok(()) }