limit FPS of render on idle

This commit is contained in:
2026-09-04 12:49:39 +08:00
parent 0c1440f926
commit b3a74d45c1
10 changed files with 272 additions and 78 deletions
+2 -2
View File
@@ -179,8 +179,8 @@ pub fn open_window(app_handle: &AppHandle) -> Result<tauri::WebviewWindow, Strin
let window = builder.build().map_err(|e: tauri::Error| e.to_string())?;
// #[cfg(debug_assertions)]
// window.open_devtools();
#[cfg(debug_assertions)]
window.open_devtools();
Ok(window)
}