Fixed bug w/ userList resizing when panel unpinned
This commit is contained in:
parent
3ba5c4ae32
commit
247caa5c23
|
|
@ -26,7 +26,7 @@ class cPanel{
|
||||||
|
|
||||||
//ClickDragger Objects
|
//ClickDragger Objects
|
||||||
this.activePanelDragger = new canopyUXUtils.clickDragger("#cpanel-active-drag-handle", "#cpanel-active-div", false);
|
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
|
//Element Nodes
|
||||||
//Active Panel
|
//Active Panel
|
||||||
|
|
|
||||||
|
|
@ -162,7 +162,7 @@ class canopyUXUtils{
|
||||||
//Come to the ~~dark~~ left side
|
//Come to the ~~dark~~ left side
|
||||||
this.leftHandle = leftHandle
|
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;
|
this.breakingScreen = false;
|
||||||
|
|
||||||
//we put a click dragger in yo click dragger so you could click and drag while you click and drag
|
//we put a click dragger in yo click dragger so you could click and drag while you click and drag
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue