feature: user-selectable capture hotkey with recorder in Settings

This commit is contained in:
2026-09-01 22:33:13 +04:00
parent 3c55be174a
commit fa3e7b0a4a
4 changed files with 258 additions and 15 deletions
+2 -2
View File
@@ -49,7 +49,7 @@ struct MenuBarView: View {
private var defaultStatusText: String {
guard let region = model.region else {
return "No region yet — press ⌥⇧2 to pick one."
return "No region yet — press \(model.hotkeyDisplayString) to pick one."
}
let w = Int(region.rect.width)
let h = Int(region.rect.height)
@@ -89,7 +89,7 @@ struct MenuBarView: View {
Button {
Task { await model.captureNow() }
} label: {
actionLabel("Capture now", trailing: "⌥⇧2")
actionLabel("Capture now", trailing: model.hotkeyDisplayString)
}
.disabled(model.isCapturing)