unsoluble / smalltime

A small FoundryVTT module for displaying and controlling the current time of day.
MIT License
23 stars 15 forks source link

SmallTime windows covers right click context menu on players indicator. #115

Closed XtraButtery closed 2 years ago

XtraButtery commented 2 years ago

The SmallTime window obstructs the right click context menu when right clicking on a player as a GM.

image

This makes it impossible to access certain settings within the menu without first dragging away the SmallTime window.

unsoluble commented 2 years ago

This one I can't really solve unfortunately. The Players window would need to be on a higher Z layer than the SmallTime window, but if I put ST below it then it's also below the tool controls layer, which makes elements inside the ST window unclickable. You'll just need to move the ST window in these cases.

Ikabodo commented 2 years ago

Understandable!

A few potential workarounds I thought about, just throwing them out there.

  1. Hide smalltime window when context menu of the player menu is opened.
  2. Hide smalltime window when player menu is hovered over.
  3. Use `pointer-events: none´ on the SmallTime window, but I suspect this won't work.