RpgGameComponent.trackPointer increments movement with this.pointer_move = Math.max(this.pointer_move + 1, 100).
Math.max(..., 100) snaps the counter to 100 on the first pointermove and to 101 on the second. upPointer then treats pointer_move > 100 as a drag and refuses to changeTileType.
Intended behavior is almost certainly this.pointer_move += 1 (threshold 100 = ~100 move events before a click becomes a drag). As written, a two-event jitter while orbiting/clicking a tile never places.
Pinned by rpg-game.component.logic.spec.ts ("two pointermoves already exceed the click budget").
`RpgGameComponent.trackPointer` increments movement with `this.pointer_move = Math.max(this.pointer_move + 1, 100)`.
`Math.max(..., 100)` snaps the counter to 100 on the first `pointermove` and to 101 on the second. `upPointer` then treats `pointer_move > 100` as a drag and refuses to `changeTileType`.
Intended behavior is almost certainly `this.pointer_move += 1` (threshold 100 = ~100 move events before a click becomes a drag). As written, a two-event jitter while orbiting/clicking a tile never places.
Pinned by `rpg-game.component.logic.spec.ts` ("two pointermoves already exceed the click budget").
```ts
this.pointer_move = Math.max(this.pointer_move + 1, 100);
```
Already on master. RpgGameComponent.trackPointer already increments pointer_move by 1, so two pointermoves no longer snap past the click budget. Closing.
Already on `master`. RpgGameComponent.trackPointer already increments pointer_move by 1, so two pointermoves no longer snap past the click budget. Closing.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
RpgGameComponent.trackPointerincrements movement withthis.pointer_move = Math.max(this.pointer_move + 1, 100).Math.max(..., 100)snaps the counter to 100 on the firstpointermoveand to 101 on the second.upPointerthen treatspointer_move > 100as a drag and refuses tochangeTileType.Intended behavior is almost certainly
this.pointer_move += 1(threshold 100 = ~100 move events before a click becomes a drag). As written, a two-event jitter while orbiting/clicking a tile never places.Pinned by
rpg-game.component.logic.spec.ts("two pointermoves already exceed the click budget").Already on
master. RpgGameComponent.trackPointer already increments pointer_move by 1, so two pointermoves no longer snap past the click budget. Closing.