From 8511d8d2ec8de836feed83e85cb30c6ed15c1d9c Mon Sep 17 00:00:00 2001 From: blue Date: Tue, 20 Nov 2018 17:01:34 +0300 Subject: [PATCH] bugfixing --- main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.js b/main.js index 04da06b..dcc8d32 100644 --- a/main.js +++ b/main.js @@ -37,9 +37,9 @@ let form = new Form(panelWidth, panelHeight - panelPaddingTop); let randomBox = new SwitchBox(true, 40, 20); let amountBox = new NumericBox(100, 30); amountBox.setValue(100); -let circlesBox = new SwitchBox(this, 40, 20); -let rectanglesBox = new SwitchBox(this, 40, 20); -let trianglesBox = new SwitchBox(this, 40, 20); +let circlesBox = new SwitchBox(true, 40, 20); +let rectanglesBox = new SwitchBox(true, 40, 20); +let trianglesBox = new SwitchBox(true, 40, 20); form.addLine("random", "Random amount of shapes",randomBox); form.addLine("amount", "Amount of shapes", amountBox);