Skip to content

Commit

Permalink
forgot to change mouseleave to mouseout. (#559)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelthatsit authored Apr 3, 2024
1 parent b00f0e7 commit 5db1073
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/componentSystems/ControlSystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ export class ControlSystem extends MRSystem {
})
);

entity.dispatchEvent(new MouseEvent('mouseleave'));
entity.dispatchEvent(new MouseEvent('mouseout'));
};

/**
Expand Down Expand Up @@ -472,7 +472,7 @@ export class ControlSystem extends MRSystem {

// TODO: this will require slightly more complex logic to implement correctly
// this.currentEntity.dispatchEvent(
// new MouseEvent('mouseleave', {
// new MouseEvent('mouseout', {
// bubbles: false,
// })
// );
Expand Down

0 comments on commit 5db1073

Please sign in to comment.