Compare commits

..

No commits in common. "5e369fef35c5f53a84cafc6d587e8e02f20d2f64" and "0b99014de3eb25063ee64c8949b3fc40de443f88" have entirely different histories.

4 changed files with 3 additions and 28 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "twitch-vod-manager",
"version": "4.6.54",
"version": "4.6.53",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "twitch-vod-manager",
"version": "4.6.54",
"version": "4.6.53",
"license": "MIT",
"dependencies": {
"axios": "^1.6.0",

View File

@ -1,6 +1,6 @@
{
"name": "twitch-vod-manager",
"version": "4.6.54",
"version": "4.6.53",
"description": "Twitch VOD Manager - Download Twitch VODs easily",
"main": "dist/main.js",
"author": "xRangerDE",

View File

@ -248,9 +248,6 @@ function buildVodCardHtml(vod: VOD, streamer: string, downloadedIds?: Set<string
// titles containing backslashes / HTML entities like &apos;.
return `
<div class="vod-card${isChecked ? ' selected' : ''}${isAlreadyDownloaded ? ' already-downloaded' : ''}"
role="button"
tabindex="0"
aria-label="${safeTitleAttr}"
data-vod-id="${safeIdAttr}"
data-vod-url="${safeUrlAttr}"
data-vod-title="${safeTitleAttr}"
@ -895,22 +892,6 @@ function initVodGridSelectionDelegation(): void {
e.preventDefault();
showVodContextMenu(e.clientX, e.clientY, ctx);
});
// Enter / Space on a focused VOD card opens the VOD on Twitch — same
// outcome as a mouse click on the thumbnail. Skip when focus is on a
// child (action button, checkbox) because those have their own
// keyboard handlers (native button + checkbox semantics).
grid.addEventListener('keydown', (e) => {
if (e.key !== 'Enter' && e.key !== ' ') return;
const target = e.target as HTMLElement | null;
if (!target) return;
const card = target.closest('.vod-card') as HTMLElement | null;
if (!card || card !== target) return;
const ctx = readVodCardContext(card);
if (!ctx) return;
e.preventDefault();
void window.api.openExternal(ctx.url);
});
}
let activeVodContextMenu: HTMLElement | null = null;

View File

@ -1288,12 +1288,6 @@ select option {
border-color: rgba(145, 70, 255, 0.35);
}
.vod-card:focus-visible {
outline: none;
border-color: rgba(145, 70, 255, 0.7);
box-shadow: 0 0 0 3px rgba(145, 70, 255, 0.35);
}
.vod-card.selected {
box-shadow: 0 0 0 2px #9146FF, 0 8px 25px rgba(145, 70, 255, 0.25);
}