@tmagic/stage 1.3.0-beta.1 → 1.3.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1766,8 +1766,9 @@
|
|
|
1766
1766
|
this.emit("select", this.selectedEl);
|
|
1767
1767
|
}
|
|
1768
1768
|
};
|
|
1769
|
-
mouseLeaveHandler = () => {
|
|
1769
|
+
mouseLeaveHandler = (event) => {
|
|
1770
1770
|
setTimeout(() => this.clearHighlight(), throttleTime);
|
|
1771
|
+
this.emit("mouseleave", event);
|
|
1771
1772
|
};
|
|
1772
1773
|
mouseWheelHandler = () => {
|
|
1773
1774
|
this.clearHighlight();
|
|
@@ -2580,9 +2581,9 @@
|
|
|
2580
2581
|
* 初始化Highlight类通过ActionManager抛出来的事件监听
|
|
2581
2582
|
*/
|
|
2582
2583
|
initMouseEvent() {
|
|
2583
|
-
this.actionManager.on("mousemove",
|
|
2584
|
+
this.actionManager.on("mousemove", (event) => {
|
|
2584
2585
|
this.emit("mousemove", event);
|
|
2585
|
-
}).on("mouseleave",
|
|
2586
|
+
}).on("mouseleave", (event) => {
|
|
2586
2587
|
this.emit("mouseleave", event);
|
|
2587
2588
|
}).on("drag-start", (e) => {
|
|
2588
2589
|
this.emit("drag-start", e);
|