limit FPS of render on idle
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user