Explorar el Código

Refresh the current folder to avoid still displaying moved asset

Josh Engebretson hace 10 años
padre
commit
c69b4277be
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      Script/AtomicEditor/ui/frames/ProjectFrame.ts

+ 3 - 1
Script/AtomicEditor/ui/frames/ProjectFrame.ts

@@ -315,7 +315,9 @@ class ProjectFrame extends ScriptWidget {
 
             dragAsset.move(destPath + dragAsset.name + dragAsset.extension);
 
-            return false;
+            this.refreshContent(this.currentFolder);
+
+            return true;
         }
 
         // dropped some files?