mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-05-21 10:20:21 +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. |
||
|---|---|---|
| .. | ||
| capabilities | ||
| icons | ||
| src | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| tauri.conf.json | ||