ncannasse пре 12 година
родитељ
комит
8c4ff3aa89
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 1 1
      h2d/comp/Button.hx
  2. 1 1
      h2d/comp/Checkbox.hx

+ 1 - 1
h2d/comp/Button.hx

@@ -10,7 +10,7 @@ class Button extends Component {
 	public function new(text, ?parent) {
 		super("button",parent);
 		input = new h2d.Interactive(0, 0, bg);
-		var active = false, out = false;
+		var active = false;
 		input.onPush = function(_) {
 			active = true;
 			onMouseDown();

+ 1 - 1
h2d/comp/Checkbox.hx

@@ -8,7 +8,7 @@ class Checkbox extends Component {
 	public function new(?parent) {
 		super("checkbox", parent);
 		input = new h2d.Interactive(0, 0, this);
-		var active = false, out = false;
+		var active = false;
 		input.onPush = function(_) {
 			active = true;
 		};