@lvce-editor/explorer-view 7.27.0 → 7.27.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.
@@ -3784,6 +3784,9 @@ const enqueueCommand = async (id, command) => {
3784
3784
  const hasSameVisibleExplorerItemInputs = (oldState, newState) => {
3785
3785
  return oldState.items === newState.items && oldState.minLineY === newState.minLineY && oldState.height === newState.height && oldState.itemHeight === newState.itemHeight && oldState.focusedIndex === newState.focusedIndex && oldState.editingIndex === newState.editingIndex && oldState.editingSessionId === newState.editingSessionId && oldState.editingIcon === newState.editingIcon && oldState.cutItems === newState.cutItems && oldState.editingErrorMessage === newState.editingErrorMessage && oldState.dropTargets === newState.dropTargets && oldState.fileIconCache === newState.fileIconCache && oldState.decorations === newState.decorations && oldState.useChevrons === newState.useChevrons && oldState.sourceControlIgnoredUris === newState.sourceControlIgnoredUris;
3786
3786
  };
3787
+ const hasSameDragDataInputs = (oldState, newState) => {
3788
+ return oldState.isPointerDown === newState.isPointerDown && oldState.pointerDownIndex === newState.pointerDownIndex;
3789
+ };
3787
3790
  const updateGitIgnoredUris = (state, generation, sourceControlIgnoredUris) => {
3788
3791
  const {
3789
3792
  gitIgnoreGeneration
@@ -3882,7 +3885,7 @@ const wrapListItemCommandInternal = (fn, queued) => {
3882
3885
  const intermediate = get(id);
3883
3886
  set$1(id, intermediate.oldState, updatedState, intermediate.scheduledState);
3884
3887
  if (hasSameVisibleExplorerItemInputs(intermediate.newState, updatedState)) {
3885
- if (updatedState.inputSource === User) {
3888
+ if (updatedState.inputSource === User || !hasSameDragDataInputs(intermediate.newState, updatedState)) {
3886
3889
  set$1(id, intermediate.oldState, updatedState);
3887
3890
  }
3888
3891
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/explorer-view",
3
- "version": "7.27.0",
3
+ "version": "7.27.1",
4
4
  "description": "Explorer Worker",
5
5
  "repository": {
6
6
  "type": "git",