diff --git a/CHANGELOG.md b/CHANGELOG.md index 9950af4..eba579a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +### 0.5.5 +* Bugfix: Fixed broken player list on always-visible mode (sorry!) + ### 0.5.4 * Bugfix: Player List should use now the same color as the left side bar * Bugfix: Player List alignment slightly improved to stay on the left diff --git a/minimalui.css b/minimalui.css index f4c5dd9..5e43d72 100644 --- a/minimalui.css +++ b/minimalui.css @@ -27,6 +27,7 @@ --playerwidthhv: 150px; --playerslh: 20px; --playerbennies: none; + --playerh3w: unset; --macrobarvis: hidden; --macrobarypos: 10px; @@ -135,7 +136,7 @@ #players h3 { margin: 0px -2px; border-bottom: 0px; - width: 0%; + width: var(--playerh3w); } .raised-hand { diff --git a/minimalui.js b/minimalui.js index f77ec74..8535f1b 100644 --- a/minimalui.js +++ b/minimalui.js @@ -524,6 +524,7 @@ Hooks.on('renderPlayerList', async function() { case 'autohide': { rootStyle.setProperty('--playervis', 'visible'); rootStyle.setProperty('--playerslh', '2px'); + rootStyle.setProperty('--playerh3w', '0%'); // DnD UI Special Compatibility if (game.modules.get("dnd-ui")) { $("#players").css('border-image', 'none'); diff --git a/module.json b/module.json index c73a63e..c429588 100644 --- a/module.json +++ b/module.json @@ -3,7 +3,7 @@ "title": "Minimal UI", "author": "JeansenVaars#2857", "description": "Minimal UI reduces size of Foundry interface and allows hiding or collapsing specific parts.", - "version": "0.5.4", + "version": "0.5.5", "minimumCoreVersion": "0.7.9", "compatibleCoreVersion": "0.7.9", "esmodules": [ "lib/colorsettings/colorSetting.js" ],