Commit fe46411
fix: use outerWidth/outerHeight for Tauri new window dimensions
Tauri's WebviewWindow constructor treats width/height as outer size,
but innerWidth/innerHeight only gives the content area. This caused
each File > New Window to shrink by the title bar and border size.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent dc34734 commit fe46411
2 files changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
626 | 626 | | |
627 | 627 | | |
628 | 628 | | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
629 | 635 | | |
630 | 636 | | |
631 | 637 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1757 | 1757 | | |
1758 | 1758 | | |
1759 | 1759 | | |
1760 | | - | |
1761 | | - | |
1762 | | - | |
1763 | | - | |
| 1760 | + | |
| 1761 | + | |
| 1762 | + | |
| 1763 | + | |
1764 | 1764 | | |
1765 | 1765 | | |
1766 | 1766 | | |
| |||
0 commit comments