Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendonovich committed Nov 13, 2024
1 parent a88a147 commit 29ca228
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/desktop/src-tauri/src/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,8 @@ pub fn position_traffic_lights(window: tauri::Window, controls_inset: Option<(f6
.ns_window()
.expect("Failed to get native window handle"),
),
&controls_inset.map(LogicalPosition::from)
&controls_inset
.map(LogicalPosition::from)
.unwrap_or(DEFAULT_TRAFFIC_LIGHTS_INSET),
);
})
Expand Down

0 comments on commit 29ca228

Please sign in to comment.