|
@@ -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);
|