Skip to content

Commit

Permalink
fix rotate width and height
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjj1024 committed Dec 4, 2024
1 parent fb77e04 commit 2158352
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/edit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,8 @@ const rotateWH = () => {
const temp = appForm.width
appForm.width = appForm.height
appForm.height = temp
tauriConfig.windows.width = appForm.width
tauriConfig.windows.height = appForm.height
preview(true)
}
Expand Down

0 comments on commit 2158352

Please sign in to comment.