diff --git a/Sources/Kapture/ResultWindow.swift b/Sources/Kapture/ResultWindow.swift
index 9524bda..559bf0b 100644
--- a/Sources/Kapture/ResultWindow.swift
+++ b/Sources/Kapture/ResultWindow.swift
@@ -305,49 +305,6 @@ struct ResultView: View {
.foregroundStyle(model.isDrawing ? .primary : .secondary)
.help("Toggle drawing on the screenshot")
- if model.isDrawing {
- ColorPicker("", selection: Binding(
- get: { Color(nsColor: model.drawColor) },
- set: { model.drawColor = NSColor($0) }
- ), supportsOpacity: false)
- .labelsHidden()
- .frame(width: 28)
- .help("Drawing color")
- }
-
- if model.isDrawing || !model.strokes.isEmpty {
- HStack(spacing: 6) {
- Button {
- model.undoStroke()
- } label: {
- Image(systemName: "arrow.uturn.backward")
- }
- .buttonStyle(.bordered)
- .disabled(!model.canUndo)
- .keyboardShortcut("z", modifiers: .command)
- .help("Undo last stroke (⌘Z)")
-
- Button {
- model.redoStroke()
- } label: {
- Image(systemName: "arrow.uturn.forward")
- }
- .buttonStyle(.bordered)
- .disabled(!model.canRedo)
- .keyboardShortcut("z", modifiers: [.command, .shift])
- .help("Redo stroke (⌘⇧Z)")
-
- Button {
- model.clearAnnotations()
- } label: {
- Image(systemName: "eraser")
- }
- .buttonStyle(.bordered)
- .disabled(model.strokes.isEmpty)
- .help("Remove all drawn annotations")
- }
- }
-
Button {
model.copyImage()
} label: {
@@ -417,6 +374,7 @@ struct ResultView: View {
.buttonStyle(.bordered)
.controlSize(.small)
.disabled(!model.canUndo)
+ .keyboardShortcut("z", modifiers: .command)
.help("Undo last stroke (⌘Z)")
Button {
@@ -427,6 +385,7 @@ struct ResultView: View {
.buttonStyle(.bordered)
.controlSize(.small)
.disabled(!model.canRedo)
+ .keyboardShortcut("z", modifiers: [.command, .shift])
.help("Redo stroke (⌘⇧Z)")
}
.padding(.horizontal, 14)
diff --git a/build-app.sh b/build-app.sh
index d19934a..13b4921 100755
--- a/build-app.sh
+++ b/build-app.sh
@@ -108,9 +108,9 @@ cat > "$APP/Contents/Info.plist" <<'PLIST'
CFBundleIconFile
Icon
CFBundleShortVersionString
- 1.4.0
+ 1.4.1
CFBundleVersion
- 40
+ 41
LSUIElement
NSHighResolutionCapable