Reorder settings

This commit is contained in:
arne 2024-07-20 19:29:40 +02:00
commit 29ce93045c

View file

@ -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({