-
Notifications
You must be signed in to change notification settings - Fork 417
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. Closes bpmn-io/bpmn-js#1366
- Loading branch information
Showing
7 changed files
with
104 additions
and
73 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,15 +1,11 @@ | ||
import SelectionModule from '../selection'; | ||
|
||
import Dragging from './Dragging'; | ||
import HoverFix from './HoverFix'; | ||
|
||
|
||
export default { | ||
__init__: [ | ||
'hoverFix' | ||
], | ||
__depends__: [ | ||
SelectionModule | ||
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,14 @@ | ||
import DraggingModule from '../dragging'; | ||
|
||
import HoverFix from './HoverFix'; | ||
|
||
|
||
export default { | ||
__init__: [ | ||
'hoverFix' | ||
], | ||
__depends__: [ | ||
DraggingModule | ||
], | ||
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