Kaynağa Gözat

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

Klug76 6 yıl önce
ebeveyn
işleme
ebcec72eb3
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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;