diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-07-04 12:19:44 -0400 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-07-06 11:49:19 -0400 |
| commit | 0365c1b0bb99dd5dfdf301c00fb44a25dc7bbd88 (patch) | |
| tree | 1a1d2a0b9e14c9befc990513b468b13594f1d7ac | |
| parent | 8d3e8065ecc5dd5aeb4233a15c72613f373689ad (diff) | |
| download | muhqs-game-0365c1b0bb99dd5dfdf301c00fb44a25dc7bbd88.tar.gz muhqs-game-0365c1b0bb99dd5dfdf301c00fb44a25dc7bbd88.zip | |
scale pan distance for Scroll
| -rw-r--r-- | go/ui/update.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/go/ui/update.go b/go/ui/update.go index 81d060ff..8d859595 100644 --- a/go/ui/update.go +++ b/go/ui/update.go @@ -83,7 +83,7 @@ func Update() error { if TouchManager.pan != nil { pan := TouchManager.pan iX, iY := pan.Incremental() - AppendInput(InputEvent{Pan, pan.originX, pan.originY, DistanceCtx{int(iX), int(iY)}}) + AppendInput(InputEvent{Pan, pan.originX, pan.originY, DistanceCtx{int(iX) / 10, int(iY) / 10}}) } |
