mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-05-20 17:47:19 +00:00
window.outer_size() returns (0, 0) on the first show, so the previous positioning snapped to top-left when the window had not been rendered yet. Derive the target x from the popover width declared in tauri.conf.json and scale margins by the monitor's scale factor so HiDPI displays land in the right spot. |
||
|---|---|---|
| .. | ||
| dist | ||
| Scripts | ||
| src | ||
| src-tauri | ||
| .gitignore | ||
| DEVELOPMENT.md | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| tokens.json | ||
| tsconfig.json | ||
| vite.config.ts | ||