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)],
|
$canvas(scene, size)],
|
||||||
["aside", {},
|
["aside", {},
|
||||||
["h2", {}, "Settings"],
|
["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: ", {
|
input("Grid size: ", {
|
||||||
type: "number",
|
type: "number",
|
||||||
min: "5",
|
min: "5",
|
||||||
|
|
@ -163,6 +150,19 @@ $compile(
|
||||||
value: ySeeds_,
|
value: ySeeds_,
|
||||||
oninput: $input(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"],
|
["h2", {}, "SVG Export"],
|
||||||
["div", {}, ["textarea", {
|
["div", {}, ["textarea", {
|
||||||
value: sync({
|
value: sync({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue