Compare commits
No commits in common. "19555ce87253cb7c229d0595786e1d8109cc06a7" and "45dfd4f6fde7fe222e0e76d4458a98b0ffc20bff" have entirely different histories.
19555ce872
...
45dfd4f6fd
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.131",
|
"version": "4.6.130",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "twitch-vod-manager",
|
"name": "twitch-vod-manager",
|
||||||
"version": "4.6.131",
|
"version": "4.6.130",
|
||||||
"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.131",
|
"version": "4.6.130",
|
||||||
"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",
|
||||||
|
|||||||
@ -1288,11 +1288,13 @@ function updateClipDuration(): void {
|
|||||||
const duration = endSec - startSec;
|
const duration = endSec - startSec;
|
||||||
const durationDisplay = byId('clipDurationDisplay');
|
const durationDisplay = byId('clipDurationDisplay');
|
||||||
|
|
||||||
const isValid = duration > 0;
|
if (duration > 0) {
|
||||||
durationDisplay.classList.toggle('invalid', !isValid);
|
durationDisplay.textContent = formatSecondsToTime(duration);
|
||||||
durationDisplay.textContent = isValid
|
durationDisplay.style.color = '#00c853';
|
||||||
? formatSecondsToTime(duration)
|
} else {
|
||||||
: UI_TEXT.clips.invalidDuration;
|
durationDisplay.textContent = UI_TEXT.clips.invalidDuration;
|
||||||
|
durationDisplay.style.color = '#ff4444';
|
||||||
|
}
|
||||||
|
|
||||||
updateFilenameExamples();
|
updateFilenameExamples();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -318,18 +318,12 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.clip-modal-duration-value {
|
.clip-modal-duration-value {
|
||||||
color: var(--success);
|
color: #00c853;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-family: 'Consolas', 'Segoe UI Mono', monospace;
|
font-family: 'Consolas', 'Segoe UI Mono', monospace;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* updateClipDuration flips this class when end <= start so the value
|
|
||||||
reads as a clear "Ungueltig!" / error message in red. */
|
|
||||||
.clip-modal-duration-value.invalid {
|
|
||||||
color: var(--error);
|
|
||||||
}
|
|
||||||
|
|
||||||
.clip-modal-hint {
|
.clip-modal-hint {
|
||||||
color: var(--text-secondary);
|
color: var(--text-secondary);
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user