sim/ui/src
Steve Biedermann 2bb369fc88 feat(ui): zoom with the wheel, pan with the middle button
The map canvas now fills its panel and draws through a view transform,
so it stays sharp at every zoom level. The wheel zooms around the
pointer, dragging with the middle button pans, and right click clears
the selection. The wheel listener is attached natively and non-passive
because Leptos delegates `wheel` to the document, where browsers ignore
`preventDefault`.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-12 21:02:35 +02:00
..
api.rs refactor(ui): resolve clippy pedantic lints 2026-10-11 21:23:50 +02:00
canvas.rs feat(ui): zoom with the wheel, pan with the middle button 2026-10-12 21:02:35 +02:00
editor.rs feat: build the frontend with Leptos and WebAssembly 2026-10-08 09:10:42 +02:00
lib.rs feat(ui): zoom with the wheel, pan with the middle button 2026-10-12 21:02:35 +02:00
model.rs feat(ui): zoom with the wheel, pan with the middle button 2026-10-12 21:02:35 +02:00