Kruptein / PlanarAlly

A companion tool for when you travel into the planes.
https://www.planarally.io/
MIT License
395 stars 73 forks source link

[BUG] Resizing the window makes DM layer fully opaque for GM #1246

Closed rexy712 closed 1 year ago

rexy712 commented 1 year ago

Describe the bug If the GM is on the token layer, shapes on the DM layer are semitransparent to make a clear distinction. But if the GM resizes the window, the DM layer become fully opaque until you switch layers.
This also applies to being on the map layer when resizing. This makes objects on the Token and DM layer become opaque when they were previously semitransparent.

To Reproduce Steps to reproduce the behavior:

  1. Create a shape on the DM layer.
  2. Switch to token layer, DM layer becomes semitransparent.
  3. Resize the window.
  4. DM layer is fully opaque again.

Expected behavior Semitransparent layers should not be made opaque when the window resizes.

Screenshots

https://user-images.githubusercontent.com/2442544/226768488-e87372c1-43a4-4358-84a1-b32dc02014e9.mp4

Desktop: