From 29ca22843a62dcd0f4efb0dd2f2c636a33b2c395 Mon Sep 17 00:00:00 2001 From: Brendan Allan Date: Wed, 13 Nov 2024 18:14:04 +0800 Subject: [PATCH] format --- apps/desktop/src-tauri/src/windows.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/desktop/src-tauri/src/windows.rs b/apps/desktop/src-tauri/src/windows.rs index 2ce66cae..d0c6260f 100644 --- a/apps/desktop/src-tauri/src/windows.rs +++ b/apps/desktop/src-tauri/src/windows.rs @@ -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), ); })