diff --git a/plugins/positioner/src/ext.rs b/plugins/positioner/src/ext.rs index 20e5cd3b..cd22105c 100644 --- a/plugins/positioner/src/ext.rs +++ b/plugins/positioner/src/ext.rs @@ -107,7 +107,10 @@ impl WindowExt for Window { }, #[cfg(feature = "system-tray")] TrayLeft => { - if let (Some((tray_x, tray_y)), Some((_, _tray_height))) = (tray_position, tray_size) + if let ( + Some((tray_x, tray_y)), + Some((_, _tray_height)) + ) = (tray_position, tray_size) { let y = tray_y - window_size.height; // Choose y value based on the target OS