better test

This commit is contained in:
Anton Lavrenov
2019-02-05 21:21:57 -05:00
parent 052d090ea3
commit 9aed313ef2
4 changed files with 48 additions and 38 deletions

View File

@@ -345,10 +345,6 @@ export class Stage extends Container {
}
_mouseover(evt) {
this._setPointerPosition(evt);
// TODO: add test on mouseover
// I guess it should fire on:
// 1. mouseenter
// 2. leave or enter any shape
this._fire(CONTENT_MOUSEOVER, { evt: evt });
this._fire(MOUSEOVER, { evt: evt, target: this, currentTarget: this });
}