Browse Source

Fix typo in Scene.hx (#791)

Fix little typo in Scene.hx
Arnaud Duforat 5 years ago
parent
commit
3a77692afe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      h2d/Scene.hx

+ 1 - 1
h2d/Scene.hx

@@ -209,7 +209,7 @@ class Scene extends Layers implements h3d.IDrawable implements hxd.SceneEvents.I
 	/**
 	/**
 		Set the fixed size for the scene, will prevent automatic scene resizing when screen size changes.
 		Set the fixed size for the scene, will prevent automatic scene resizing when screen size changes.
 	**/
 	**/
-	@:deprecated("setFixedSize is deprecated, use scaleMode = Strech(w, h) instead")
+	@:deprecated("setFixedSize is deprecated, use scaleMode = Stretch(w, h) instead")
 	public function setFixedSize( w : Int, h : Int ) {
 	public function setFixedSize( w : Int, h : Int ) {
 		scaleMode = Stretch(w, h);
 		scaleMode = Stretch(w, h);
 	}
 	}