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 function new(font:h2d.Font,parent) {
+	public function new(font:h2d.Font,?parent) {
 		super(parent);
 		height = font.lineHeight + 2;
 		logTxt = new h2d.HtmlText(font, this);