propagate event to allow tool taper angle override

This commit is contained in:
Stewart Allen 2025-03-08 14:28:03 -05:00
commit b4d28bad7c
2 changed files with 3 additions and 2 deletions

View file

@ -7,6 +7,7 @@
// dep: kiri.settings // dep: kiri.settings
gapp.register("kiri-mode.cam.tools", (root, exports) => { gapp.register("kiri-mode.cam.tools", (root, exports) => {
const DEG2RAD = Math.PI / 180;
let { kiri } = root, let { kiri } = root,
{ api, consts } = kiri, { api, consts } = kiri,
{ uc, ui } = api, { uc, ui } = api,

View file

@ -49,8 +49,8 @@ gapp.register("kiri.init", (root, exports) => {
return api.conf.get(); return api.conf.get();
} }
function updateTool() { function updateTool(ev) {
api.tool.update(); api.tool.update(ev);
} }
function checkSeed(then) { function checkSeed(then) {