Skip to content

Commit

Permalink
fix v9 255
Browse files Browse the repository at this point in the history
  • Loading branch information
zeteticl committed Apr 8, 2022
1 parent b7f5a43 commit 600dce6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@
![](https://img.shields.io/badge/Foundry-v0.6.2-informational)
<a href="https://patreon.com/HKTRPG"><img src="https://img.shields.io/endpoint.svg?url=https://shieldsio-patreon.vercel.app/api/?username=HKTRPG&type=patrons" /></a>



# 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.
Expand Down
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -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"
});
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 600dce6

Please sign in to comment.