Fixed issue with dragbas upon load.
This commit is contained in:
@@ -58,6 +58,10 @@ function DragbarHandler(canvas) {
|
||||
};
|
||||
|
||||
this.resetPosition = function() {
|
||||
if (!_dragbars.v) {
|
||||
return this;
|
||||
}
|
||||
|
||||
_dragbars.v.set({ left: canvas.width - 30 }).setCoords();
|
||||
this.__handles.setHandlePosition();
|
||||
return this;
|
||||
|
||||
Reference in New Issue
Block a user