ncannasse 10 роки тому
батько
коміт
1434f0bf29
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      h2d/Console.hx

+ 1 - 1
h2d/Console.hx

@@ -31,7 +31,7 @@ class Console extends h2d.Sprite {
 
 
 	public var shortKeyChar : Int = "/".code;
 	public var shortKeyChar : Int = "/".code;
 
 
-	public function new(font:h2d.Font,parent) {
+	public function new(font:h2d.Font,?parent) {
 		super(parent);
 		super(parent);
 		height = font.lineHeight + 2;
 		height = font.lineHeight + 2;
 		logTxt = new h2d.HtmlText(font, this);
 		logTxt = new h2d.HtmlText(font, this);