We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd77090 commit e2f525fCopy full SHA for e2f525f
crates/gitbutler-tauri/src/window.rs
@@ -1,3 +1,5 @@
1
+use tauri::Manager;
2
+
3
pub(crate) mod state {
4
use std::{collections::BTreeMap, sync::Arc};
5
@@ -325,7 +327,9 @@ pub fn create(
325
327
use tauri::Manager;
326
328
use tauri_plugin_trafficlights_positioner::WindowExt;
329
if let Some(window) = window.get_window(label) {
- window.setup_traffic_lights_inset(LogicalPosition::new(16.0, 25.0))?;
330
+ // Note that these lights get reset when the Window label is changed!
331
+ // See https://github.com/tauri-apps/tauri/issues/13044 .
332
+ window.setup_traffic_lights_inset(LogicalPosition::new(16.0, 28.0))?;
333
}
334
335
Ok(window)
0 commit comments