Switching scene : Directional arrow following the mouse movement stops moving
Closed this issue · 2 comments
V10 Foundry, everything up to date. Using The Forge platform to host games and Chrome.
Issue : when loading the game and starting manipulating tokens on the first scene I loaded, everything is working as intended. As soon as I switch to another scene, Alternative Rotation stops working as intended : the directional arrow you can move with the shortcut + mouse doesn't move anymore.
Hitting several times Alternative Rotation Shortcut (kept default shortcut : R) will makes directional arrow and token facing switching directions but not in a smooth way ("directional jumps").
Tried deactivating all modules except that one. Issue still here
Tried it on another test game (even with a different game system) with nothing in it except 2 scenes and tokens, and Alternative Rotation being the only active module. Same behavior.
F5 and everything works fine on the first scene I load. Rince and repeat.
Note : everything was fine before one of the last version of Foundry (don't know witch one). I use this module since a long time.
Thx for any help :)
This appears to be due to canvas.stage
no longer being preserved across scene changes, so the mouse move listener needs to be reapplied after a scene transition.
Fixed in v2.2.1. Thanks for the detailed (and correct) report. The bug was very easy to solve, once I realized what's wrong.