Explorar o código

TextInput minor bugfix: use unused variable 'old' (#474)

Klug76 %!s(int64=6) %!d(string=hai) anos
pai
achega
ebcec72eb3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      h2d/TextInput.hx

+ 1 - 1
h2d/TextInput.hx

@@ -383,7 +383,7 @@ class TextInput extends Text {
 		interactive.visible = false;
 		interactive.draw(ctx);
 		super.drawRec(ctx);
-		interactive.visible = true;
+		interactive.visible = old;
 	}
 
 	function get_backgroundColor() return interactive.backgroundColor;