-
-
Notifications
You must be signed in to change notification settings - Fork 993
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(SnapDropZone): add valid highlight color option
The new Valid Highlight Color will be used when a valid object is hovering over an already highlighted snap drop zone. For instance if the Highlight Always Active option is on, it will use the Highlight Color (which can be set to a different colour) and then when a valid object passes into the Snap Drop Zone the Valid Highlight Color will be used. This also fixes an issue with the OnEnter event as it wasn't previously being emitted if the Highlight Always On was set to true, until the object was snapped and then unsnapped.
- Loading branch information
1 parent
d02fcbd
commit 0fbef07
Showing
3 changed files
with
91 additions
and
54 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
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