Przeglądaj źródła

don't stretch scene on resize

trethaller 4 lat temu
rodzic
commit
e9f833af8d
1 zmienionych plików z 0 dodań i 1 usunięć
  1. 0 1
      hide/comp/Scene.hx

+ 0 - 1
hide/comp/Scene.hx

@@ -148,7 +148,6 @@ class Scene extends Component implements h3d.IDrawable {
 		engine.onResized = function() {
 			if( s2d == null ) return;
 			visible = engine.width > 32 && engine.height > 32; // 32x32 when hidden !
-			s2d.scaleMode = Stretch(engine.width, engine.height);
 			onResize();
 		};
 		engine.init();