Skip to content

Commit

Permalink
resize things and fix effects
Browse files Browse the repository at this point in the history
  • Loading branch information
stonedDiscord committed Aug 17, 2024
1 parent 12fe09d commit 1575389
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
5 changes: 3 additions & 2 deletions webAO/styles/client.css
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
}

#client_icwrapper {
overflow-x: hidden;
position: relative;
background: inherit;
}

Expand Down Expand Up @@ -318,6 +318,7 @@
#client_fg {
position: absolute;
height: 100%;
width: 100%;
bottom: 0;
left: 0;
top: 50%;
Expand Down Expand Up @@ -557,7 +558,7 @@
#client_musiclist {
width: 99%;
height: 95%;
height: calc(95% - 16px);
height: calc(99% - 18px);
background-color: #222;
color: #fff;
}
Expand Down
11 changes: 9 additions & 2 deletions webAO/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ const config = {
width: 40,
content: [{
type: 'component',
height: 68,
height: 80,
isClosable: false,
componentName: 'template',
title: 'IC',
componentState: { id: 'client_wrapper' },
},
{
type: 'component',
height: 32,
height: 20,
isClosable: false,
title: 'IC Options',
componentName: 'template',
Expand Down Expand Up @@ -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]);
});

0 comments on commit 1575389

Please sign in to comment.