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] Viewbox resize handle janky and drags window #110

Open ksignorini opened 9 months ago

ksignorini commented 9 months ago

The resize handle seems to not work anymore. It looks like it's trying to resize the viewbox but instead drags the viewbox around (to the bottom right) as you try to resize it.

mspoehr commented 2 months ago

@MaterialFoundry This issue has been open a while with no activity, so I wanted to add my experience here as this is a fairly large issue for me.

I mostly use foundry hybrid in-person+online, with a shared screen shown on a TV behind me. The Lock View module makes it easy for me to set and lock the TV view to whatever part of the map we're currently playing on, and so I primarily use the viewbox and manually move/zoom it around the map during play.

I'm currently running dnd5e 2.3.1 and foundry 11.315. The resize and move handles behave erratically at times. Enough to break the flow of the game once in a great while, but usually I can get it to behave correctly in a short amount of time. I am considering migrating my game to dnd5e 3.0+ and foundry v12, and have found that the way I use Lock View is extremely buggy with the current latest versions. The pan handle jumps back and forth (but mostly works), but the resize handle is not usable at all.

See the screen recordings below for what I mean. These recordings were taken with no other modules active, just the dnd5e 3.3.1 system and foundry v12.330. There were no console errors during this time.

https://github.com/user-attachments/assets/1c0b625d-d969-4914-bc1a-8cad9dd5e790

https://github.com/user-attachments/assets/1b9bf235-ffc6-4c54-b85f-3a206d59668b