We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4251990 commit 25cf29bCopy full SHA for 25cf29b
widget.go
@@ -44,6 +44,10 @@ func (c *Context) pointingOver(bounds image.Rectangle) bool {
44
}
45
46
func (c *Context) pointingDelta() image.Point {
47
+ // The delta is always (0, 0) when a touch just started.
48
+ if c.pointing.isTouchActive() && c.pointing.justPressed() {
49
+ return image.Point{}
50
+ }
51
return c.pointingPosition().Sub(c.lastPointingPos)
52
53
0 commit comments