use _emit iso _dispatchEvent
This commit is contained in:
parent
02f1447e2c
commit
d2a783f824
13 changed files with 52 additions and 52 deletions
|
|
@ -83,7 +83,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._dispatchEvent("changeCharaterSize", {data: size});
|
||||
this._emit("changeCharaterSize", {data: size});
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue