|
@@ -25,7 +25,7 @@ function initVSplitter(_name, _left, _right, _alignTo = null) {
|
|
vSplit.css({left: (_left.outerWidth() * 100 / totalWidth) + '%'})
|
|
vSplit.css({left: (_left.outerWidth() * 100 / totalWidth) + '%'})
|
|
.off('mousedown.' + _name).on('mousedown.' + _name, function(_e) {
|
|
.off('mousedown.' + _name).on('mousedown.' + _name, function(_e) {
|
|
totalWidth = _left.parent().width();
|
|
totalWidth = _left.parent().width();
|
|
- origLeft = vSplit.position().left;
|
|
|
|
|
|
+ origLeft = finalLeft = vSplit.position().left;
|
|
origX = _e.screenX;
|
|
origX = _e.screenX;
|
|
vMoving = true;
|
|
vMoving = true;
|
|
$('body').addClass('v-moving');
|
|
$('body').addClass('v-moving');
|