discrete widget state dirtying in belt / slice. fix op:trace unselect on modified
This commit is contained in:
parent
e06ad5e421
commit
e1ed1b93b6
3 changed files with 8 additions and 6 deletions
|
|
@ -167,10 +167,14 @@ KIRI.work = {
|
|||
id: widget.id,
|
||||
settings: settings
|
||||
}, function(reply) {
|
||||
callback(reply);
|
||||
if (reply.done || reply.error) {
|
||||
delete slicing[widget.id];
|
||||
// in belt mode, slicing modifies a widget and requires re-sync
|
||||
if (settings.device.bedBelt) {
|
||||
widget.modified = true;
|
||||
}
|
||||
}
|
||||
callback(reply);
|
||||
});
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -869,7 +869,6 @@
|
|||
setOpacity(color.slicing_opacity);
|
||||
|
||||
STACKS.clear();
|
||||
KIRI.client.clear();
|
||||
KIRI.client.sync();
|
||||
KIRI.client.rotate(settings);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue