MaterialFoundry / LockView

Foundry VTT module: Locks the view for the purpose of using Foundry on a digital playmat, such as a horizontally mounted TV. Scales the scene so the gridsize is always displayed corresponding to a real-world size, and can block zooming and panning
15 stars 7 forks source link

[BUG] Right click menu not working when scene rotated 90 #103

Closed Muttles closed 3 months ago

Muttles commented 1 year ago

Any right click menu is disabled when scene image is rotated.

CDeenen commented 12 months ago

@Dylancyclone since you implemented the scene rotation, is this something you'd be willing to look into? This has been mentioned by multiple people and if there's no fix for it I'm not sure if I want to keep the scene rotation in the module.

What I've found is that when the scene is rotated the right click menu is displayed in a completely wrong location, see the attached image. Maybe it's trying to display it on the spot where the token would be if the scene wasn't rotated. image

Dylancyclone commented 11 months ago

Hi, I created a pull request to fix this. Let me know what you think! https://github.com/MaterialFoundry/LockView/pull/106