Skip to content

fix: window size restore bugs in different platforms#2723

Merged
abose merged 3 commits intomainfrom
st
Mar 4, 2026
Merged

fix: window size restore bugs in different platforms#2723
abose merged 3 commits intomainfrom
st

Conversation

@abose
Copy link
Member

@abose abose commented Mar 4, 2026

abose added 3 commits March 4, 2026 11:33
innerWidth/innerHeight in Tauri don't account for title bar height
and are affected by webview zoom. Add brackets.app.getWindowSize()
that uses Tauri's outerSize()/scaleFactor() to get the true logical
window size, and brackets.app.getZoomFactor() using PhStore.
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 4, 2026

@abose abose merged commit bc17f18 into main Mar 4, 2026
18 of 21 checks passed
@abose abose deleted the st branch March 4, 2026 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant