This commit is contained in:
@@ -50,8 +50,8 @@ The core workflow:
|
|||||||
- **Capture engine** — the editor's **Capture ▾** button offers full screen,
|
- **Capture engine** — the editor's **Capture ▾** button offers full screen,
|
||||||
active window, and region capture (the app hides itself during the shot),
|
active window, and region capture (the app hides itself during the shot),
|
||||||
plus continuous capture sessions that grab a step on every click where the
|
plus continuous capture sessions that grab a step on every click where the
|
||||||
OS allows it, or on a 3/5/10 s auto-interval everywhere else (the REC bar
|
OS allows it, or on a 3/5/10 s auto-interval everywhere else. The REC bar
|
||||||
shows the live count with Auto/Pause/Finish controls). Delay, global
|
shows the live count and the start/pause control. Delay, global
|
||||||
hotkeys, click markers, clipboard paste, and PNG/JPEG/GIF import included.
|
hotkeys, click markers, clipboard paste, and PNG/JPEG/GIF import included.
|
||||||
The full keyboard shortcut list lives under **More ▾ → Keyboard
|
The full keyboard shortcut list lives under **More ▾ → Keyboard
|
||||||
shortcuts** in the editor.
|
shortcuts** in the editor.
|
||||||
|
|||||||
@@ -269,14 +269,6 @@ class StepForgeApp {
|
|||||||
: s.intervalSec > 0 ? `every ${s.intervalSec}s`
|
: s.intervalSec > 0 ? `every ${s.intervalSec}s`
|
||||||
: 'hotkey only';
|
: 'hotkey only';
|
||||||
|
|
||||||
// Cycle interval auto-capture: off -> 3s -> 5s -> 10s -> off.
|
|
||||||
const nextInterval = { 0: 3, 3: 5, 5: 10, 10: 0 }[s.intervalSec ?? 0] ?? 3;
|
|
||||||
const autoBtn = el('button', {
|
|
||||||
type: 'button',
|
|
||||||
title: 'Automatically capture a step on a timer',
|
|
||||||
onClick: () => send({ action: 'interval', intervalSec: nextInterval }),
|
|
||||||
}, s.intervalSec > 0 ? `Auto ${s.intervalSec}s` : 'Auto off');
|
|
||||||
|
|
||||||
const pauseBtn = el('button', {
|
const pauseBtn = el('button', {
|
||||||
type: 'button',
|
type: 'button',
|
||||||
title: notStarted ? 'StepForge tucks away and starts capturing' : '',
|
title: notStarted ? 'StepForge tucks away and starts capturing' : '',
|
||||||
@@ -289,16 +281,9 @@ class StepForgeApp {
|
|||||||
},
|
},
|
||||||
}, notStarted ? 'Start recording' : s.paused ? 'Resume' : 'Pause');
|
}, notStarted ? 'Start recording' : s.paused ? 'Resume' : 'Pause');
|
||||||
|
|
||||||
const finishBtn = el('button', {
|
|
||||||
type: 'button',
|
|
||||||
onClick: () => send({ action: 'finish' }),
|
|
||||||
}, 'Finish');
|
|
||||||
|
|
||||||
this.captureStatus.append(
|
this.captureStatus.append(
|
||||||
el('span', { title: `Capture session — ${trigger}` }, `REC ${s.count || 0} · ${trigger}`),
|
el('span', { title: `Capture session — ${trigger}` }, `REC ${s.count || 0} · ${trigger}`),
|
||||||
autoBtn,
|
|
||||||
pauseBtn,
|
pauseBtn,
|
||||||
finishBtn,
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -102,8 +102,8 @@ Initial release.
|
|||||||
the platform supports it (xinput on X11, PowerShell on Windows), with
|
the platform supports it (xinput on X11, PowerShell on Windows), with
|
||||||
interval auto-capture (3/5/10 s) as the always-works fallback when
|
interval auto-capture (3/5/10 s) as the always-works fallback when
|
||||||
click detection or global hotkeys are unavailable (e.g. WSLg/Wayland).
|
click detection or global hotkeys are unavailable (e.g. WSLg/Wayland).
|
||||||
The REC bar shows the live count and trigger, with Auto / Pause /
|
The REC bar shows the live count and trigger, with the start/pause
|
||||||
Finish controls.
|
control.
|
||||||
- Recording sessions tuck the window away once and control everything
|
- Recording sessions tuck the window away once and control everything
|
||||||
from a red tray icon (capture now / pause / open / finish) instead of
|
from a red tray icon (capture now / pause / open / finish) instead of
|
||||||
hiding the window for every shot — the app stays reachable
|
hiding the window for every shot — the app stays reachable
|
||||||
@@ -161,7 +161,7 @@ Initial release.
|
|||||||
session now starts paused and the window only tucks away once the user
|
session now starts paused and the window only tucks away once the user
|
||||||
presses "Start recording" in the capture bar, so the app doesn't vanish
|
presses "Start recording" in the capture bar, so the app doesn't vanish
|
||||||
out from under you.
|
out from under you.
|
||||||
- The capture status bar (REC count / Auto / Pause / Finish) is
|
- The capture status bar (REC count / start/pause control) is
|
||||||
now shown only in the editor view; it no longer appears over the
|
now shown only in the editor view; it no longer appears over the
|
||||||
library when a session is still running in the background.
|
library when a session is still running in the background.
|
||||||
- Click-triggered captures now grab the cursor position at the instant of
|
- Click-triggered captures now grab the cursor position at the instant of
|
||||||
|
|||||||
Reference in New Issue
Block a user