diff --git a/CHANGELOG.md b/CHANGELOG.md index 39ef7fd..8042816 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +### 1.3.2 +* Bugfix: Fixed transparency not being set on left side controls after refresh (Thank you Brimcon) + ### 1.3.1 * Enhancement: New Left Controls Behavior (experimental) - Auto-Hide Plus hides all non-active sub controls * Bugfix: Fixed FPS Indicator on the wrong position (Thanks GambitTV) diff --git a/module.json b/module.json index 1ab36b9..d4aa7b3 100644 --- a/module.json +++ b/module.json @@ -3,7 +3,7 @@ "title": "Minimal UI", "author": "JeansenVaars#2857", "description": "Minimal UI allows customizing Foundry interface, by hiding, collapsing or resizing specific parts.", - "version": "1.3.1", + "version": "1.3.2", "minimumCoreVersion": "9.233", "compatibleCoreVersion": "9.238", "dependencies": [ @@ -30,5 +30,5 @@ ], "url": "https://github.com/saif-ellafi/foundryvtt-minimal-ui.git", "manifest": "https://github.com/saif-ellafi/foundryvtt-minimal-ui/releases/latest/download/module.json", - "download": "https://github.com/saif-ellafi/foundryvtt-minimal-ui/releases/download/1.3.1/foundryvtt-minimal-ui_1.3.1.zip" + "download": "https://github.com/saif-ellafi/foundryvtt-minimal-ui/releases/download/1.3.2/foundryvtt-minimal-ui_1.3.2.zip" } diff --git a/modules/component/sidebar.js b/modules/component/sidebar.js index e09cabb..ec7c307 100644 --- a/modules/component/sidebar.js +++ b/modules/component/sidebar.js @@ -47,7 +47,6 @@ export default class MinimalUISidebar { } }); Hooks.on('collapseSidebar', function(_, isCollapsing) { - console.log(isCollapsing); if (isCollapsing) { rootStyle.setProperty('--fpsposx', '-5px'); rootStyle.setProperty('--fpsvis', 'unset'); diff --git a/modules/customization/theme.js b/modules/customization/theme.js index feedd07..4495b39 100644 --- a/modules/customization/theme.js +++ b/modules/customization/theme.js @@ -85,6 +85,8 @@ export default class MinimalUITheme { const transparency = game.settings.get('minimal-ui', 'transparencyPercentage'); if (transparency >= 0 && transparency <= 100) { rootStyle.setProperty('--opacity', transparency.toString() + '%'); + // Need one separate for controls to handle some click events - there is probably a better way + rootStyle.setProperty('--opacitycontrols', transparency.toString() + '%'); } }) } diff --git a/package-lock.json b/package-lock.json index 8c0444d..57f70c8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "packages": { "": { "name": "foundryvtt-minimal-ui", - "version": "1.3.1", + "version": "1.3.2", "license": "MIT", "dependencies": { "@rollup/plugin-json": "^4.1.0", diff --git a/package.json b/package.json index 89e3e13..47ddb2c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "foundryvtt-minimal-ui", - "version": "1.3.1", + "version": "1.3.2", "description": "Minimal UI allows customizing Foundry interface, by hiding, collapsing or resizing specific parts.", "main": "minimalui.js", "scripts": {