Skip to content

Commit

Permalink
Changed collapse controls to rely on chat rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
saif-ellafi committed Sep 6, 2021
1 parent 8b2cd2c commit 0f7d045
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand All @@ -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"
}
2 changes: 1 addition & 1 deletion modules/component/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 0f7d045

Please sign in to comment.