Fix more formatting

This commit is contained in:
GordoRank 2014-01-13 22:27:25 +00:00
parent b8c83ed242
commit 6acb697b7a

View file

@ -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;
}