small gleam coding and persistent agent daemon with a detachable cli and a canvas ui forked from okami.mom/albedo

web: finer wheel zoom, and drag the canvas with space or the middle button

A mouse wheel's notch with ctrl or cmd zoomed by a factor of e (deltaY 100 through exp(-deltaY * 0.01)); a notch is now one 10% step, told apart from a pinch's few pixels by size (50 px or more, or any line-mode delta). Holding space, unless a text field has focus, or the middle button drags the canvas from anywhere, over windows too: the pointer is taken in the capture phase before Svelte Flow or the window sees it, so nothing drags, selects or autoscrolls. Svelte Flow's own space key, which only worked on empty canvas, is off. Signed-off-by: dawn <90008@klbr.net>


Author ptr.pet
Date Commit Parent 4918907c Change ID
+79 -5
2 changed files
+79 -5
2 changed files