]> git.proxmox.com Git - ui/proxmox-yew-widget-toolkit.git/commit
widget: number field: add spinner repeat behaviour
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 17 Jul 2024 10:24:09 +0000 (12:24 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 17 Jul 2024 11:06:16 +0000 (13:06 +0200)
commit2113b59765246601f021264bc2fd518bc1fc3914
treec86832b70f4334c78225f86993e5749c213a42c5
parent2e5df9f25c6a507d7654ad29a9cc9371eb723669
widget: number field: add spinner repeat behaviour

instead of reacting to each click, react to pointerdown/up
and implement a very basic repeat logic, so that the value
de/increments repeatedly when keep pressing the up/down buttons

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/widget/form/number.rs