mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-03 10:11:15 +02:00
fix: follow-up fix for monitor work area on macOS (#13310)
follow-up for #13309
This commit is contained in:
committed by
GitHub
parent
6ce10ab773
commit
568efb4568
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user