From 43fa073075f538e9a3c80d6a31b0d4e9a2fbee4b Mon Sep 17 00:00:00 2001 From: Saif Addin Date: Wed, 21 Jun 2023 00:51:06 +0200 Subject: [PATCH] Release ready --- CHANGELOG.md | 3 +++ module.json | 4 ++-- modules/component/hotbar.js | 4 ++-- package.json | 2 +- styles/component/hotbar.css | 2 +- 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e809b3..438fe4d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +### 1.6.2 +* Bugfix: Adjusted hotbar positioning and starfinder support + ### 1.6.1 * Bugfix: Fixed auto-hide sliding in V11 (thanks @andy-jones) diff --git a/module.json b/module.json index 872c1d4..27f985b 100644 --- a/module.json +++ b/module.json @@ -10,7 +10,7 @@ } ], "description": "Minimal UI allows customizing Foundry interface, by hiding, collapsing or resizing specific parts.", - "version": "1.6.1", + "version": "1.6.2", "compatibility": { "minimum": "10", "verified": "11.302", @@ -49,7 +49,7 @@ ], "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.6.1/foundryvtt-minimal-ui_1.6.1.zip", + "download": "https://github.com/saif-ellafi/foundryvtt-minimal-ui/releases/download/1.6.2/foundryvtt-minimal-ui_1.6.2.zip", "readme": "https://github.com/saif-ellafi/foundryvtt-minimal-ui/blob/main/README.md", "license": "https://github.com/saif-ellafi/foundryvtt-minimal-ui/blob/main/LICENSE.md", "changelog": "https://github.com/saif-ellafi/foundryvtt-minimal-ui/blob/main/CHANGELOG.md" diff --git a/modules/component/hotbar.js b/modules/component/hotbar.js index 0a36719..689865e 100644 --- a/modules/component/hotbar.js +++ b/modules/component/hotbar.js @@ -62,9 +62,9 @@ export default class MinimalUIHotbar { availableWidth >= 1200 ) { if (game.system.id === 'sfrpg') - rootStyle.setProperty('--hotbarxpos', '17px'); + rootStyle.setProperty('--hotbarxpos', '-93px'); else - rootStyle.setProperty('--hotbarxpos', '8px'); + rootStyle.setProperty('--hotbarxpos', '-102px'); if (!(game.modules.get('sidebar-macros')?.active && game.settings.get('sidebar-macros', 'hideMacroHotbar'))) rootStyle.setProperty('--playerbot', '55px'); } diff --git a/package.json b/package.json index 8abbe08..bf30ec5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "foundryvtt-minimal-ui", - "version": "1.6.1", + "version": "1.6.2", "description": "Minimal UI allows customizing Foundry interface, by hiding, collapsing or resizing specific parts.", "main": "minimalui.js", "scripts": { diff --git a/styles/component/hotbar.css b/styles/component/hotbar.css index 332caa5..595be8c 100644 --- a/styles/component/hotbar.css +++ b/styles/component/hotbar.css @@ -22,7 +22,7 @@ visibility: var(--hotbarvis); transition: 0.5s ease-out 0.5s; opacity: var(--opacity); - position: fixed; + position: relative; } #hotbar .bar-controls {