diff --git a/src/main.ts b/src/main.ts index 6d19d06..f944fe6 100644 --- a/src/main.ts +++ b/src/main.ts @@ -128,19 +128,6 @@ $compile( $canvas(scene, size)], ["aside", {}, ["h2", {}, "Settings"], - input("Canvas width:", { - type: "number", - min: "10", - value: width.deref()!, - oninput: $inputNum(width), - }), - input("Canvas height:", { - type: "number", - min: "10", - value: height.deref()!, - oninput: $inputNum(height), - }), - select("Unit", { oninput: $input(unit) }, ["mm", "px"]), input("Grid size: ", { type: "number", min: "5", @@ -163,6 +150,19 @@ $compile( value: ySeeds_, oninput: $input(ySeeds) }), + input("Canvas width:", { + type: "number", + min: "10", + value: width.deref()!, + oninput: $inputNum(width), + }), + input("Canvas height:", { + type: "number", + min: "10", + value: height.deref()!, + oninput: $inputNum(height), + }), + select("Unit", { oninput: $input(unit) }, ["mm", "px"]), ["h2", {}, "SVG Export"], ["div", {}, ["textarea", { value: sync({