diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index b8abd02f..92d7de1b 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -207,6 +207,7 @@ fn main() { // window::blur::remove_effect, window_helpers::remove_top_bar, window_helpers::set_clear_cache, + window_helpers::ultrashow, window_helpers::window_zoom_level, util::color::get_os_accent, ]) diff --git a/src-tauri/src/util/window_helpers.rs b/src-tauri/src/util/window_helpers.rs index e31924ec..063d87c7 100644 --- a/src-tauri/src/util/window_helpers.rs +++ b/src-tauri/src/util/window_helpers.rs @@ -149,6 +149,7 @@ pub fn set_user_agent(win: &tauri::WebviewWindow) { } /// Stupid name but this just ensures the window is visible regardless of being unfocused/minimized/hidden +#[tauri::command] pub fn ultrashow(win: &tauri::WebviewWindow) { win.unminimize().unwrap_or_default(); win.show().unwrap_or_default();