@lvce-editor/explorer-view 5.7.0 → 5.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3774,6 +3774,13 @@ const handleCut = async state => {
|
|
|
3774
3774
|
};
|
|
3775
3775
|
};
|
|
3776
3776
|
|
|
3777
|
+
const handleDragEnd = state => {
|
|
3778
|
+
return {
|
|
3779
|
+
...state,
|
|
3780
|
+
dropTargets: []
|
|
3781
|
+
};
|
|
3782
|
+
};
|
|
3783
|
+
|
|
3777
3784
|
const handleDragLeave = state => {
|
|
3778
3785
|
return state;
|
|
3779
3786
|
};
|
|
@@ -6159,6 +6166,7 @@ const commandMap = {
|
|
|
6159
6166
|
'Explorer.handleContextMenuKeyboard': wrapListItemCommand(handleContextMenuKeyboard),
|
|
6160
6167
|
'Explorer.handleCopy': wrapListItemCommand(handleCopy),
|
|
6161
6168
|
'Explorer.handleCut': wrapListItemCommand(handleCut),
|
|
6169
|
+
'Explorer.handleDragEnd': wrapListItemCommand(handleDragEnd),
|
|
6162
6170
|
'Explorer.handleDragLeave': wrapListItemCommand(handleDragLeave),
|
|
6163
6171
|
'Explorer.handleDragOver': wrapListItemCommand(handleDragOver),
|
|
6164
6172
|
'Explorer.handleDragOverIndex': wrapListItemCommand(handleDragOverIndex),
|