fix: suppress overlay subtitle immediately when character dictionary modal opens (#84)

This commit is contained in:
2026-05-25 02:30:33 -07:00
committed by GitHub
parent 9fe13601fb
commit 7e6f9672cf
15 changed files with 307 additions and 49 deletions
@@ -19,15 +19,17 @@ test('mpv osd runtime handlers compose append and osd logging flow', async () =>
showMpvOsdRuntime: (_client, text, fallbackLog) => {
calls.push(`show:${text}`);
fallbackLog('fallback');
return false;
},
getMpvClient: () => null,
logInfo: (line) => calls.push(`info:${line}`),
}),
});
runtime.showMpvOsd('hello');
const shown = runtime.showMpvOsd('hello');
await runtime.flushMpvLog();
assert.equal(shown, false);
assert.deepEqual(calls, [
'show:hello',
'info:fallback',