diff --git a/README.md b/README.md index 86c6896..5eecb1e 100644 --- a/README.md +++ b/README.md @@ -2,17 +2,18 @@ ![](https://img.shields.io/badge/Foundry-v0.6.2-informational) - - # Playerlist Dont Cover Controls Bar simple mod, Adjust Control Bar. Make it Scrollable. ![image](https://user-images.githubusercontent.com/23254376/150695465-a7e6e567-94f0-4e29-90f6-06e3cddd1382.png) - ## Changelog +### v1.2.1 + +Make it fit for v9 255. + ### v1.1.1 Make it Scrollable.And 80vh height. diff --git a/index.js b/index.js index f1a288a..0d1f348 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,8 @@ Hooks.on("renderSceneControls", (dialog, $element) => { const html = document.querySelector('.main-controls'); html.style.height = '80vh'; - html.style.overflowY = "auto"; + html.style.flex = 'initial'; + html.style.overflowY = "scroll"; html.style.pointerEvents = "auto"; + html.style.padding ="5px" }); \ No newline at end of file diff --git a/module.json b/module.json index ad0abae..f59fa72 100644 --- a/module.json +++ b/module.json @@ -2,7 +2,7 @@ "name": "playerlist-zindex", "title": "Playerlist don't cover Controls Bar", "description": "simple mod, Adjust Controls Bar, make it scrollable", - "version": "1.1.1", + "version": "1.2.1", "author": "Sad, HKTRPG", "scripts": [ "./index.js"