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);