mirror of
https://github.com/xevidos/codiad.git
synced 2024-11-14 07:41:14 +01:00
Fixed immediate editor reformatting issues.
This commit is contained in:
parent
101f62a93d
commit
eee074c987
1 changed files with 4 additions and 5 deletions
|
@ -45,10 +45,9 @@
|
||||||
if( _this.splitType === 'horizontal' ) {
|
if( _this.splitType === 'horizontal' ) {
|
||||||
var w1, w2;
|
var w1, w2;
|
||||||
w1 = ui.position.left - separatorWidth / 2;
|
w1 = ui.position.left - separatorWidth / 2;
|
||||||
w2 = _this.root.width() - ui.position.left -
|
w2 = _this.root.width() - ui.position.left - separatorWidth / 2;
|
||||||
separatorWidth / 2;
|
|
||||||
_this.splitProp = w1 / _this.root.width();
|
_this.splitProp = w1 / _this.root.width();
|
||||||
_this.childElements[0
|
_this.childElements[0]
|
||||||
.width( w1 )
|
.width( w1 )
|
||||||
.trigger( 'h-resize', [true, true] );
|
.trigger( 'h-resize', [true, true] );
|
||||||
_this.childElements[1]
|
_this.childElements[1]
|
||||||
|
|
Loading…
Reference in a new issue