build: upgrade to latest gioui

This commit is contained in:
5684185+vsariola@users.noreply.github.com
2024-10-05 12:34:02 +03:00
parent 8fd2df19a1
commit bf5579a2d2
4 changed files with 39 additions and 84 deletions

View File

@ -242,9 +242,9 @@ func (p ParameterStyle) Layout(gtx C) D {
case tracker.IntegerParameter:
for p.Focus {
e, ok := gtx.Event(pointer.Filter{
Target: &p.w.floatWidget,
Kinds: pointer.Scroll,
ScrollBounds: image.Rectangle{Min: image.Pt(0, -1e6), Max: image.Pt(0, 1e6)},
Target: &p.w.floatWidget,
Kinds: pointer.Scroll,
ScrollY: pointer.ScrollRange{-1e6, 1e6},
})
if !ok {
break