Fixed issue with dragbas upon load.

This commit is contained in:
Erik Tiekstra
2017-05-19 15:13:22 +02:00
parent 690c5c41a6
commit b3eff22d2e
@@ -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;