Skip to content

Commit 568efb4

Browse files
authored
fix: follow-up fix for monitor work area on macOS (#13310)
follow-up for #13309
1 parent 6ce10ab commit 568efb4

File tree

1 file changed

+1
-1
lines changed
  • crates/tauri-runtime-wry/src/monitor

1 file changed

+1
-1
lines changed

crates/tauri-runtime-wry/src/monitor/macos.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ impl super::MonitorExt for tao::monitor::MonitorHandle {
1818
let mut position = self.position().to_logical::<f64>(scale_factor);
1919

2020
position.x += visible_frame.origin.x - screen_frame.origin.x;
21-
position.y -= visible_frame.origin.y - screen_frame.origin.y;
21+
position.y += visible_frame.origin.y - screen_frame.origin.y;
2222

2323
PhysicalRect {
2424
size: LogicalSize::new(visible_frame.size.width, visible_frame.size.height)

0 commit comments

Comments
 (0)