add sketch item/group flip h/v and centering

This commit is contained in:
Stewart Allen 2024-07-27 18:41:32 -04:00
commit e0d449af50
4 changed files with 59 additions and 1 deletions

View file

@ -460,6 +460,11 @@ function ui_build() {
h.div({ class: "pop"}, [
h.button({ _: 'group', onclick: sketch.arrange.group }),
h.button({ _: 'ungroup', onclick: sketch.arrange.ungroup }),
h.hr(),
h.button({ _: 'center', onclick: sketch.arrange.center }),
h.hr(),
h.button({ _: 'flip-h', onclick: sketch.arrange.fliph }),
h.button({ _: 'flip-v', onclick: sketch.arrange.flipv }),
])
]),
h.div({ class: "sketch-on" }, [