fix: follow-up fix for monitor work area on macOS (#13310)

follow-up for #13309
This commit is contained in:
Lucas Fernandes Nogueira
2025-04-26 15:03:35 -03:00
committed by GitHub
parent 6ce10ab773
commit 568efb4568

View File

@@ -18,7 +18,7 @@ impl super::MonitorExt for tao::monitor::MonitorHandle {
let mut position = self.position().to_logical::<f64>(scale_factor);
position.x += visible_frame.origin.x - screen_frame.origin.x;
position.y -= visible_frame.origin.y - screen_frame.origin.y;
position.y += visible_frame.origin.y - screen_frame.origin.y;
PhysicalRect {
size: LogicalSize::new(visible_frame.size.width, visible_frame.size.height)