stub in laser ops for cam
This commit is contained in:
parent
a5db636401
commit
d0ae4b63f7
5 changed files with 13 additions and 6 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue