Skip to content

Commit 5357fa8

Browse files
committed
Adjust traffic light size to match the new native size
1 parent bd77090 commit 5357fa8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

crates/gitbutler-tauri/src/window.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,9 @@ pub fn create(
325325
use tauri::Manager;
326326
use tauri_plugin_trafficlights_positioner::WindowExt;
327327
if let Some(window) = window.get_window(label) {
328-
window.setup_traffic_lights_inset(LogicalPosition::new(16.0, 25.0))?;
328+
// Note that these lights get reset when the Window label is changed!
329+
// See https://github.com/tauri-apps/tauri/issues/13044 .
330+
window.setup_traffic_lights_inset(LogicalPosition::new(16.0, 28.0))?;
329331
}
330332

331333
Ok(window)

0 commit comments

Comments
 (0)