mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-02-06 13:57:16 +00:00
fix(macOS): caculation for work area (#13401)
* remove y offset * Create change-pr-13401.md
This commit is contained in:
parent
efcc840ff0
commit
bc2f0e48ac
5
.changes/change-pr-13401.md
Normal file
5
.changes/change-pr-13401.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": 'patch:bug'
|
||||
---
|
||||
|
||||
fix(macOS): caculation for work area
|
||||
@ -18,7 +18,6 @@ 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;
|
||||
|
||||
PhysicalRect {
|
||||
size: LogicalSize::new(visible_frame.size.width, visible_frame.size.height)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user