-
Notifications
You must be signed in to change notification settings - Fork 418
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: generalize fix for swallowed hover events
Replaces the old drag hover fix (which fixed kindof the same thing) with one that works in a general fashion only on element.* level. Related to bpmn-io/bpmn-js#1366
- Loading branch information
Showing
5 changed files
with
357 additions
and
264 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
import HoverFixModule from '../hover-fix'; | ||
import SelectionModule from '../selection'; | ||
|
||
import Dragging from './Dragging'; | ||
import HoverFix from './HoverFix'; | ||
|
||
|
||
export default { | ||
__init__: [ | ||
'hoverFix' | ||
], | ||
__depends__: [ | ||
SelectionModule | ||
HoverFixModule, | ||
SelectionModule, | ||
], | ||
dragging: [ 'type', Dragging ], | ||
hoverFix: [ 'type', HoverFix ] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import HoverFix from './HoverFix'; | ||
|
||
export default { | ||
__init__: [ | ||
'hoverFix' | ||
], | ||
hoverFix: [ 'type', HoverFix ], | ||
}; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.