remove non-func unrotate() and fold rotinfo back into belt

This commit is contained in:
Stewart Allen 2022-11-01 23:45:11 -04:00
commit 4bc113096b
7 changed files with 43 additions and 76 deletions

View file

@ -199,18 +199,6 @@ const client = exports({
});
},
unrotate(settings, callback) {
send("unrotate", { settings }, reply => {
if (reply.group) {
for (let widget of kiri.Widget.Groups.forid(reply.group)) {
widget.rotinfo = reply.rotinfo;
}
} else if (callback) {
callback();
}
});
},
slice(settings, widget, callback) {
send("slice", {
id: widget.id,