Files
vectorcraft/crates
dotCooCoo 32611d8f54 Number fields: the rest of a wheel notch a field took no longer scrolls the panel
egui spreads a wheel notch over the next frames. When a number field took
a notch and the pointer then left the field, the rest of that notch
scrolled the panel under the pointer, or a panel drawn before the field.

- A begin-pass plugin (`WheelTailPlugin`) keeps, per viewport, how much of
  the notches number fields took egui has not let out yet, and takes what
  egui lets out of them out of each pass's scrolling before any panel
  scrolls.
- It reads each pass's wheel events in order with egui's touch rules
  (start, end, cancel, and the timeout of a touch that never ends), so a
  turn inside a touch, or one ended in the same pass, leaves nothing owed.
- A turn the other way on the panel while the rest runs out scrolls the
  panel by its whole size.
2026-11-12 06:51:42 -08:00
..
…