From 4311225d50c6c0ee4e66472ac490bd01811d6c20 Mon Sep 17 00:00:00 2001 From: Twest2 Date: Sat, 13 Jun 2026 14:55:41 -0500 Subject: [PATCH] Remove auto and finish capture buttons --- README.md | 4 ++-- app/renderer/app.js | 15 --------------- docs/CHANGELOG.md | 6 +++--- 3 files changed, 5 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 92c2073..d6a105b 100644 --- a/README.md +++ b/README.md @@ -50,8 +50,8 @@ The core workflow: - **Capture engine** — the editor's **Capture ▾** button offers full screen, 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 - 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 + OS allows it, or on a 3/5/10 s auto-interval everywhere else. The REC bar + shows the live count and the start/pause control. Delay, global hotkeys, click markers, clipboard paste, and PNG/JPEG/GIF import included. The full keyboard shortcut list lives under **More ▾ → Keyboard shortcuts** in the editor. diff --git a/app/renderer/app.js b/app/renderer/app.js index 9c4f40a..61d6ddd 100644 --- a/app/renderer/app.js +++ b/app/renderer/app.js @@ -269,14 +269,6 @@ class StepForgeApp { : s.intervalSec > 0 ? `every ${s.intervalSec}s` : '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', { type: 'button', title: notStarted ? 'StepForge tucks away and starts capturing' : '', @@ -289,16 +281,9 @@ class StepForgeApp { }, }, notStarted ? 'Start recording' : s.paused ? 'Resume' : 'Pause'); - const finishBtn = el('button', { - type: 'button', - onClick: () => send({ action: 'finish' }), - }, 'Finish'); - this.captureStatus.append( el('span', { title: `Capture session — ${trigger}` }, `REC ${s.count || 0} · ${trigger}`), - autoBtn, pauseBtn, - finishBtn, ); } diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 3d42067..c85c546 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -102,8 +102,8 @@ Initial release. the platform supports it (xinput on X11, PowerShell on Windows), with interval auto-capture (3/5/10 s) as the always-works fallback when click detection or global hotkeys are unavailable (e.g. WSLg/Wayland). - The REC bar shows the live count and trigger, with Auto / Pause / - Finish controls. + The REC bar shows the live count and trigger, with the start/pause + control. - Recording sessions tuck the window away once and control everything from a red tray icon (capture now / pause / open / finish) instead of 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 presses "Start recording" in the capture bar, so the app doesn't vanish 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 library when a session is still running in the background. - Click-triggered captures now grab the cursor position at the instant of