Переглянути джерело

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

Klug76 6 роки тому
батько
коміт
ebcec72eb3
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      h2d/TextInput.hx

+ 1 - 1
h2d/TextInput.hx

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