Fixed bug w/ userList resizing when panel unpinned

This commit is contained in:
rainbow napkin 2024-12-06 05:06:33 -05:00
parent 3ba5c4ae32
commit 247caa5c23
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ class cPanel{
//ClickDragger Objects
this.activePanelDragger = new canopyUXUtils.clickDragger("#cpanel-active-drag-handle", "#cpanel-active-div", false);
this.pinnedPanelDragger = new canopyUXUtils.clickDragger("#cpanel-pinned-drag-handle", "#cpanel-pinned-div", false, this.client.userList.clickDragger);
this.pinnedPanelDragger = new canopyUXUtils.clickDragger("#cpanel-pinned-drag-handle", "#cpanel-pinned-div", false, this.client.chatBox.clickDragger);
//Element Nodes
//Active Panel

View file

@ -162,7 +162,7 @@ class canopyUXUtils{
//Come to the ~~dark~~ left side
this.leftHandle = leftHandle
//Little hacky but it could be worse :P
//True when the user is actively breaking the screen by dragging too far off to the side
this.breakingScreen = false;
//we put a click dragger in yo click dragger so you could click and drag while you click and drag