fix batch: missing cancel_export, overlay lifecycle, audio safety, gif encoding, UI polish
- add cancel_export command with AtomicBool flag - shut down overlay clickthrough poll thread on app exit - move set_overlay_clickthrough after capture starts (not before) - add fps filter to capture pipeline to avoid bloated intermediate files - add scale.max(0.1) floor in gif balanced mode - warn when gif encode can't meet target after retries - increase update apply script timeout and add retry loop - add SAFETY comments to all 21 unsafe blocks in audio.rs - remove dead output_path variable in capture.rs - remove no-op gif_colors.min() call in encode retry - add error toast dismiss button with 8-second auto-dismiss - remove test fps values (1,2,5,10) from idle screen - add duplicate hotkey validation in settings - change picker window to 2560x1440 - add gitignore exception for src-tauri/gen/schemas/
This commit is contained in:
@@ -24,6 +24,15 @@
|
||||
|
||||
async function save() {
|
||||
if (!cfg) return
|
||||
|
||||
// Check for duplicate hotkeys
|
||||
const keys = [cfg.hotkeys.start, cfg.hotkeys.stop, cfg.hotkeys.pause].filter(Boolean)
|
||||
const unique = new Set(keys)
|
||||
if (keys.length !== unique.size) {
|
||||
hotkeyWarnings = ['Multiple actions assigned to the same key - each hotkey must be unique']
|
||||
return
|
||||
}
|
||||
|
||||
saving = true
|
||||
hotkeyWarnings = []
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user