stub in laser ops for cam

This commit is contained in:
Stewart Allen 2022-10-18 10:27:41 -04:00
commit d0ae4b63f7
5 changed files with 13 additions and 6 deletions

View file

@ -158,8 +158,8 @@ gapp.register("kiri.ui", [], (root, exports) => {
});
}
function refresh() {
setMode(letMode, true);
function refresh(all) {
setMode(letMode, all ? false : true);
setters.forEach(input => {
if (input.setv) {
input.setv(input.real);
@ -695,7 +695,7 @@ gapp.register("kiri.ui", [], (root, exports) => {
lastChange = ip;
action(event);
if (opt.trigger) {
refresh();
refresh(opt.trigger === 1);
}
});
if (opt.units) {