fix typo
This commit is contained in:
parent
35aecf42af
commit
8d6facfdc7
2 changed files with 2 additions and 2 deletions
|
|
@ -84,7 +84,7 @@ var Text = function(parentEl) {
|
|||
var size = this.$measureSizes();
|
||||
if (size && (this.$characterSize.width !== size.width || this.$characterSize.height !== size.height)) {
|
||||
this.$characterSize = size;
|
||||
this._emit("changeCharaterSize", {data: size});
|
||||
this._emit("changeCharacterSize", {data: size});
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ var VirtualRenderer = function(container, theme) {
|
|||
column : 0
|
||||
};
|
||||
|
||||
this.$textLayer.addEventListener("changeCharaterSize", function() {
|
||||
this.$textLayer.addEventListener("changeCharacterSize", function() {
|
||||
_self.characterWidth = textLayer.getCharacterWidth();
|
||||
_self.lineHeight = textLayer.getLineHeight();
|
||||
_self.$updatePrintMargin();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue