Эх сурвалжийг харах

[player] Implemented generator reset.

badlogic 5 жил өмнө
parent
commit
033703e900

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

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