diff --git a/www/js/channel/cpanel.js b/www/js/channel/cpanel.js index cbdc075..1ad698b 100644 --- a/www/js/channel/cpanel.js +++ b/www/js/channel/cpanel.js @@ -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 diff --git a/www/js/utils.js b/www/js/utils.js index cd275b6..fc47f67 100644 --- a/www/js/utils.js +++ b/www/js/utils.js @@ -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