Skip to content

Commit aaf45b1

Browse files
committed
Revert "Adjust traffic light size to match the new native size"
This reverts commit 5357fa8. Introduced by gitbutlerapp#10573
1 parent a0bf138 commit aaf45b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/gitbutler-tauri/src/window.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,9 +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-
// Note that these lights get reset when the Window label is changed!
328+
// Note that traffic lights position get reset when the Window title is changed!
329329
// See https://github.com/tauri-apps/tauri/issues/13044 .
330-
window.setup_traffic_lights_inset(LogicalPosition::new(16.0, 28.0))?;
330+
window.setup_traffic_lights_inset(LogicalPosition::new(16.0, 25.0))?;
331331
}
332332

333333
Ok(window)

0 commit comments

Comments
 (0)