Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
Bug fix: hit and mousehit events were broken.
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredwassermann committed Apr 18, 2018
1 parent dd57d46 commit 2dc65bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/board.js
Original file line number Diff line number Diff line change
Expand Up @@ -1250,7 +1250,7 @@ define([
if (!Type.exists(this.highlightedObjects[pId])) { // highlight only if not highlighted
overObjects[pId] = pEl;
pEl.highlight();
this.triggerEventHandlers(['mousehit', 'hit'], [evt, pEl, target]);
pEl.triggerEventHandlers(['mousehit', 'hit'], [evt, pEl, target]);
}

if (pEl.mouseover) {
Expand Down

0 comments on commit 2dc65bc

Please sign in to comment.