Przeglądaj źródła

Merge branch '3.8' into 3.9-beta

badlogic 5 lat temu
rodzic
commit
a9bdb3cd4f
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      spine-ts/player/example/generator/index.html

+ 2 - 0
spine-ts/player/example/generator/index.html

@@ -138,7 +138,9 @@ body {
 
 
 			var newButton = topBar.children[0];
 			var newButton = topBar.children[0];
 			newButton.onclick = function() {
 			newButton.onclick = function() {
+				player.stopRendering();
 				UI.show(dropZone);
 				UI.show(dropZone);
+				UI.clear(editor);
 				UI.hide(editor);
 				UI.hide(editor);
 			}
 			}
 			var downloadButton = topBar.children[1];
 			var downloadButton = topBar.children[1];