diff options
| author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2026-10-27 16:11:29 +0100 |
|---|---|---|
| committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2026-10-27 16:11:29 +0100 |
| commit | d465654e42ff6f7dfc52884d93c85143fdd8336e (patch) | |
| tree | 6dd0249104d0ce2a9e69d3b48fb1b3c5f9b2adba /crates/gipfel-core/Cargo.toml | |
| parent | acd22ac3f2740d075806845805a5b26490ca4c3b (diff) | |
web: always redraw when the canvas CSS size changes
The ResizeObserver only re-fit the image; with user_moved set (after
any manual pan/zoom) it did nothing, so the canvas backing store kept
its old dimensions and the browser stretched the stale bitmap —
visible distortion on sidebar collapse and window resize. The
observer now always bumps the redraw tick (backing store resyncs in
the draw effect, compass included) and re-fits additionally when the
view has not been moved by hand.
Diffstat (limited to 'crates/gipfel-core/Cargo.toml')
0 files changed, 0 insertions, 0 deletions
