fix(remote-control): avoid mid-turn model resync
This commit is contained in:
parent
0dd6960688
commit
aacabde7dc
|
|
@ -89,6 +89,7 @@ export default function remoteControl(pi: ExtensionAPI) {
|
||||||
});
|
});
|
||||||
|
|
||||||
pi.on("model_select", async (_event, ctx) => {
|
pi.on("model_select", async (_event, ctx) => {
|
||||||
|
if (!ctx.isIdle()) return;
|
||||||
scheduleSync(ctx);
|
scheduleSync(ctx);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue