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
+3 -1
View File
@@ -99,12 +99,14 @@ test('show mpv osd logs marker and forwards fallback logging', () => {
showMpvOsdRuntime: (_client, text, fallbackLog) => {
calls.push(`show:${text}`);
fallbackLog('fallback-line');
return false;
},
getMpvClient: () => client,
logInfo: (line) => calls.push(`info:${line}`),
});
showMpvOsd('subtitle copied');
const shown = showMpvOsd('subtitle copied');
assert.equal(shown, false);
assert.deepEqual(calls, [
'append:[OSD] subtitle copied',
'show:subtitle copied',