@lvce-editor/explorer-view 7.19.0 → 7.19.1
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.
|
@@ -2251,7 +2251,7 @@ const openUri = async (uri, focus, options) => {
|
|
|
2251
2251
|
type: 'editor',
|
|
2252
2252
|
uri
|
|
2253
2253
|
},
|
|
2254
|
-
|
|
2254
|
+
focus,
|
|
2255
2255
|
preview: options.preview ?? false
|
|
2256
2256
|
});
|
|
2257
2257
|
return;
|
|
@@ -5343,7 +5343,16 @@ const handleDragEnd = state => {
|
|
|
5343
5343
|
};
|
|
5344
5344
|
|
|
5345
5345
|
const handleDragLeave = state => {
|
|
5346
|
-
|
|
5346
|
+
const {
|
|
5347
|
+
dropTargets
|
|
5348
|
+
} = state;
|
|
5349
|
+
if (dropTargets.length === 0) {
|
|
5350
|
+
return state;
|
|
5351
|
+
}
|
|
5352
|
+
return {
|
|
5353
|
+
...state,
|
|
5354
|
+
dropTargets: []
|
|
5355
|
+
};
|
|
5347
5356
|
};
|
|
5348
5357
|
|
|
5349
5358
|
const canBeDroppedInto = dirent => {
|