We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1125f6 commit 6097f76Copy full SHA for 6097f76
1 file changed
widget.go
@@ -63,6 +63,10 @@ func (c *Context) pointingOver(bounds image.Rectangle) bool {
63
}
64
65
func (c *Context) pointingDelta() image.Point {
66
+ // The delta is always (0, 0) when a touch just started.
67
+ if c.pointing.isTouchActive() && c.pointing.justPressed() {
68
+ return image.Point{}
69
+ }
70
return c.pointingPosition().Sub(c.lastPointingPos)
71
72
0 commit comments