Reorder settings
This commit is contained in:
parent
c42d0dd23f
commit
29ce93045c
1 changed files with 13 additions and 13 deletions
26
src/main.ts
26
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({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue