unsoluble / smalltime

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

Taskbar Support not checking if Move Players is Enabled or not #109

Closed mouse0270 closed 2 years ago

mouse0270 commented 2 years ago

Your added support for Taskbar by ripper, always moves the about time widget up 50px even if the taskbar setting to move the players and hotkeys is not enabled, causing a large gap between the players hud element and small time.

Changing the if statement too if (game.modules.get('foundry-taskbar')?.active && game.settings.get('foundry-taskbar', 'moveplayersmacro')) {

This will fix the issue so the extra padding is only added if taskbar is active and the setting is on.

unsoluble commented 2 years ago

Cool, thanks.

unsoluble commented 2 years ago

Fixed in 1.13.11