Closed mclemente closed 1 year ago
When using a Mirror setting instead of the Rotate setting, rotating a token (SHIFT + movement keys) doesn't mirror it.
The error is on https://github.com/mclemente/about-face/blob/master/scripts/logic.js#L119, where flipOrRotate doesn't have x and y positions and dir isn't used at all.
flipOrRotate
dir
Example: Mirror Horizontally, SHIFT + A/D doesn't mirror the token. Same for Vertically and W/S.
Fixed on https://github.com/mclemente/about-face/commit/2c8049602d4e4aaa82add262bf2e318dc70672ea#diff-a2f9859a7925afd20d70d4825709ee85fa48b4f37f93c17bb11094121cc1f6abR200-R214
When using a Mirror setting instead of the Rotate setting, rotating a token (SHIFT + movement keys) doesn't mirror it.
The error is on https://github.com/mclemente/about-face/blob/master/scripts/logic.js#L119, where
flipOrRotate
doesn't have x and y positions anddir
isn't used at all.Example: Mirror Horizontally, SHIFT + A/D doesn't mirror the token. Same for Vertically and W/S.