mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-05-13 20:12:54 -07:00
fix: CI changelog, annotation options threading, and Jellyfin quit
- Add `type: fixed` / `area:` frontmatter to `changes/319` to pass `changelog:lint` - Thread `TokenizerAnnotationOptions` through `stripSubtitleAnnotationMetadata` so `sourceText` is honored - Include `jellyfinPlay` in `shouldQuitOnDisconnectWhenOverlayRuntimeInitialized` predicate - Make mouse test `elementFromPoint` stubs coordinate-sensitive - Make Lua test `.tmp` mkdir portable on Windows
This commit is contained in:
@@ -1347,7 +1347,8 @@ test('window resize allows primary hover pause from a real mouseenter over subti
|
||||
configurable: true,
|
||||
value: {
|
||||
addEventListener: () => {},
|
||||
elementFromPoint: () => ctx.dom.subtitleContainer,
|
||||
elementFromPoint: (x: number, y: number) =>
|
||||
x === 120 && y === 240 ? ctx.dom.subtitleContainer : null,
|
||||
querySelectorAll: () => [],
|
||||
body: {},
|
||||
},
|
||||
@@ -1496,7 +1497,8 @@ test('pointer tracking enables overlay interaction as soon as the cursor reaches
|
||||
bucket.push(listener);
|
||||
documentListeners.set(type, bucket);
|
||||
},
|
||||
elementFromPoint: () => ctx.dom.subtitleContainer,
|
||||
elementFromPoint: (x: number, y: number) =>
|
||||
x === 120 && y === 240 ? ctx.dom.subtitleContainer : null,
|
||||
querySelectorAll: () => [],
|
||||
body: {},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user