Explorar o código

don't stretch scene on resize

trethaller %!s(int64=4) %!d(string=hai) anos
pai
achega
e9f833af8d
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  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();