From 15753899db8dace22e36f35210565b5baac79361 Mon Sep 17 00:00:00 2001 From: stoned Date: Sat, 17 Aug 2024 11:10:45 +0200 Subject: resize things and fix effects --- webAO/styles/client.css | 5 +++-- webAO/ui.js | 11 +++++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) (limited to 'webAO') 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 -- cgit