add sketch poly group and ungroup

This commit is contained in:
Stewart Allen 2024-07-25 16:03:51 -04:00
commit 5f001f3050
2 changed files with 23 additions and 4 deletions

View file

@ -433,8 +433,8 @@ function ui_build() {
h.button({ _: 'intersect', onclick: sketch.boolean.intersect }),
h.button({ _: 'difference', onclick: sketch.boolean.difference }),
h.hr(),
h.button({ _: 'group', onclick: sketch.boolean.union }),
h.button({ _: 'ungroup', onclick: sketch.boolean.union }),
h.button({ _: 'group', onclick: sketch.boolean.group }),
h.button({ _: 'ungroup', onclick: sketch.boolean.ungroup }),
])
]),
h.div({ class: "sketch-off" }, [