-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(windows) window center doesn't consider taskbar size (#9309)
* Fix window center doesn't consider taskbar size * Clean up * Add change file * Calculate title bar size on initial creation * Comment about not adding in rect.bottom * Tweak comment * Fix center existing window a bit too high * us NSWindow::center on macOS * skip if undecorated
- Loading branch information
1 parent
1a58cdf
commit 4c2e747
Showing
3 changed files
with
81 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"tauri-runtime-wry": patch:bug | ||
--- | ||
|
||
Fix window centering not taking taskbar into account on Windows |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters