Compare commits
No commits in common. "5e369fef35c5f53a84cafc6d587e8e02f20d2f64" and "0b99014de3eb25063ee64c8949b3fc40de443f88" have entirely different histories.
5e369fef35
...
0b99014de3
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "twitch-vod-manager",
|
"name": "twitch-vod-manager",
|
||||||
"version": "4.6.54",
|
"version": "4.6.53",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "twitch-vod-manager",
|
"name": "twitch-vod-manager",
|
||||||
"version": "4.6.54",
|
"version": "4.6.53",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^1.6.0",
|
"axios": "^1.6.0",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "twitch-vod-manager",
|
"name": "twitch-vod-manager",
|
||||||
"version": "4.6.54",
|
"version": "4.6.53",
|
||||||
"description": "Twitch VOD Manager - Download Twitch VODs easily",
|
"description": "Twitch VOD Manager - Download Twitch VODs easily",
|
||||||
"main": "dist/main.js",
|
"main": "dist/main.js",
|
||||||
"author": "xRangerDE",
|
"author": "xRangerDE",
|
||||||
|
|||||||
@ -248,9 +248,6 @@ function buildVodCardHtml(vod: VOD, streamer: string, downloadedIds?: Set<string
|
|||||||
// titles containing backslashes / HTML entities like '.
|
// titles containing backslashes / HTML entities like '.
|
||||||
return `
|
return `
|
||||||
<div class="vod-card${isChecked ? ' selected' : ''}${isAlreadyDownloaded ? ' already-downloaded' : ''}"
|
<div class="vod-card${isChecked ? ' selected' : ''}${isAlreadyDownloaded ? ' already-downloaded' : ''}"
|
||||||
role="button"
|
|
||||||
tabindex="0"
|
|
||||||
aria-label="${safeTitleAttr}"
|
|
||||||
data-vod-id="${safeIdAttr}"
|
data-vod-id="${safeIdAttr}"
|
||||||
data-vod-url="${safeUrlAttr}"
|
data-vod-url="${safeUrlAttr}"
|
||||||
data-vod-title="${safeTitleAttr}"
|
data-vod-title="${safeTitleAttr}"
|
||||||
@ -895,22 +892,6 @@ function initVodGridSelectionDelegation(): void {
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
showVodContextMenu(e.clientX, e.clientY, ctx);
|
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;
|
let activeVodContextMenu: HTMLElement | null = null;
|
||||||
|
|||||||
@ -1288,12 +1288,6 @@ select option {
|
|||||||
border-color: rgba(145, 70, 255, 0.35);
|
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 {
|
.vod-card.selected {
|
||||||
box-shadow: 0 0 0 2px #9146FF, 0 8px 25px rgba(145, 70, 255, 0.25);
|
box-shadow: 0 0 0 2px #9146FF, 0 8px 25px rgba(145, 70, 255, 0.25);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user