mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-15 01:03:10 +00:00
Fix more formatting
This commit is contained in:
parent
b8c83ed242
commit
6acb697b7a
1 changed files with 5 additions and 5 deletions
|
|
@ -234,9 +234,9 @@ fabric.util.object.extend(fabric.IText.prototype, /** @lends fabric.IText.protot
|
|||
}
|
||||
|
||||
if(mouseOffset.y < height){
|
||||
return this._getNewSelectionStartFromOffset(
|
||||
mouseOffset, prevWidth, width, charIndex + i, jlen, j);
|
||||
}
|
||||
return this._getNewSelectionStartFromOffset(
|
||||
mouseOffset, prevWidth, width, charIndex + i, jlen, j);
|
||||
}
|
||||
}
|
||||
|
||||
// clicked somewhere after all chars, so set at the end
|
||||
|
|
@ -265,8 +265,8 @@ fabric.util.object.extend(fabric.IText.prototype, /** @lends fabric.IText.protot
|
|||
}
|
||||
|
||||
if(j == jlen){
|
||||
newSelectionStart--;
|
||||
}
|
||||
newSelectionStart--;
|
||||
}
|
||||
|
||||
return newSelectionStart;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue