diff options
| author | stoned <Tukz@gmx.de> | 2024-08-17 11:10:45 +0200 |
|---|---|---|
| committer | stoned <Tukz@gmx.de> | 2024-08-17 11:10:45 +0200 |
| commit | 15753899db8dace22e36f35210565b5baac79361 (patch) | |
| tree | 85d963670361a6edcd9404296e88ef61279f83d1 /webAO | |
| parent | 12fe09d878355a552e9df6eec6112eff4429238b (diff) | |
resize things and fix effects
Diffstat (limited to 'webAO')
| -rw-r--r-- | webAO/styles/client.css | 5 | ||||
| -rw-r--r-- | webAO/ui.js | 11 |
2 files changed, 12 insertions, 4 deletions
diff --git a/webAO/styles/client.css b/webAO/styles/client.css index 9e26a93..f95613a 100644 --- a/webAO/styles/client.css +++ b/webAO/styles/client.css @@ -141,7 +141,7 @@ } #client_icwrapper { - overflow-x: hidden; + position: relative; background: inherit; } @@ -318,6 +318,7 @@ #client_fg { position: absolute; height: 100%; + width: 100%; bottom: 0; left: 0; top: 50%; @@ -557,7 +558,7 @@ #client_musiclist { width: 99%; height: 95%; - height: calc(95% - 16px); + height: calc(99% - 18px); background-color: #222; color: #fff; } diff --git a/webAO/ui.js b/webAO/ui.js index 94ebe41..3342a09 100644 --- a/webAO/ui.js +++ b/webAO/ui.js @@ -18,7 +18,7 @@ const config = { width: 40, content: [{ type: 'component', - height: 68, + height: 80, isClosable: false, componentName: 'template', title: 'IC', @@ -26,7 +26,7 @@ const config = { }, { type: 'component', - height: 32, + height: 20, isClosable: false, title: 'IC Options', componentName: 'template', @@ -178,3 +178,10 @@ if (isMobileDevice){ else { golden.loadLayout(config); } + +console.log(golden.root.contentItems[0].contentItems[0].contentItems[0]); + +golden.root.contentItems[0].contentItems[0].contentItems[0].on('resize',function(){ + console.log("IC pane resized"); //TEMP + console.log(golden.root.contentItems[0].contentItems[0]); + });
\ No newline at end of file |
