Prechádzať zdrojové kódy

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

Klug76 6 rokov pred
rodič
commit
ebcec72eb3
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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;