diff --git a/CHANGELOG.md b/CHANGELOG.md index 667b7a8..24aaad4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +### 1.0.6 +* Bugfix: Chat logs should not expand the sidebar when collapsed by default (Thanks Brimcon) + ### 1.0.5 * Compatibility: Foundry 0.8.9 diff --git a/module.json b/module.json index a78e46d..b8db335 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.0.5", + "version": "1.0.6", "minimumCoreVersion": "0.8.9", "compatibleCoreVersion": "0.8.9", "dependencies": [ @@ -25,5 +25,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.0.5/foundryvtt-minimal-ui_1.0.5.zip" + "download": "https://github.com/saif-ellafi/foundryvtt-minimal-ui/releases/download/1.0.6/foundryvtt-minimal-ui_1.0.6.zip" } diff --git a/modules/component/sidebar.js b/modules/component/sidebar.js index c718a9f..b4eb580 100644 --- a/modules/component/sidebar.js +++ b/modules/component/sidebar.js @@ -20,7 +20,7 @@ export default class MinimalUISidebar { } static initHooks() { - Hooks.once('renderSidebarTab', async function() { + Hooks.once('renderChatLog', async function() { switch(game.settings.get('minimal-ui', 'rightcontrolsBehaviour')) { case 'shown': { rootStyle.setProperty('--controlsvis', 'visible'); diff --git a/package-lock.json b/package-lock.json index 117a7f5..d4bda98 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "foundryvtt-minimal-ui", - "version": "1.0.4", + "version": "1.0.6", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index cddc499..452f2b0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "foundryvtt-minimal-ui", - "version": "1.0.5", + "version": "1.0.6", "description": "Minimal UI allows customizing Foundry interface, by hiding, collapsing or resizing specific parts.", "main": "minimalui.js", "scripts": {