Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

[BUG] Moving a Mount While Both Mount and Mounter are Selected Breaks Alignment #4

Open
Sniperfox47 opened this issue Jun 6, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Sniperfox47
Copy link

Describe the bug
A clear and concise description of what the bug is.
If you move a mount and the token mounting it at the same time by having both selected it breaks the alignment and the smaller token drifts around inside the larger one. In my experience it typically drifts to the upper left corner.

Environment Details
Foundry VTT Version: 0.6.1
Mount Up! Version: 3.0.1

To Reproduce
Steps to reproduce the behavior:
_1. Mount one token on another
2. With both still selected move the tokens
3. Move them several more times and they shift around on top of each other. Typically drifting to the top left. It's especially noticable with center alaignment.

Expected behavior
They should stay locked to the set alignment.

Screenshots
If applicable, add screenshots to help explain your problem.
Before moving:
image
After moving:
image

@Sniperfox47 Sniperfox47 added the bug Something isn't working label Jun 6, 2020
@jaltepeter
Copy link
Owner

So after some investigation, this is not related to Mount Up, but actually the way Foundry handles token placement. If shift is not held during token movement, a token will snap into the closest grid spot.

Since you are 'controlling' a token that is selected, Foundry movement rules take over. At current, I can only suggest a 'workaround' of only selecting the mount token like normal mount movements.

I will continue to do some investigation and see if I can hack around it in the future.

See example with one token:
kTaQQ9F1Hr

Here is two tokens stacked, but not mounted in any way:
NTjWa9f6YS

@winterwulf
Copy link

This doesnt happen with the old version of the module, I have reinstalled it manually and it works perfect.

https://i.imgur.com/HCmC5NU.gif

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants