propagate event to allow tool taper angle override
This commit is contained in:
parent
f8bf28acdd
commit
b4d28bad7c
2 changed files with 3 additions and 2 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue