diff --git a/Sources/Kapture/ResultWindow.swift b/Sources/Kapture/ResultWindow.swift index f95965d..e24e4bf 100644 --- a/Sources/Kapture/ResultWindow.swift +++ b/Sources/Kapture/ResultWindow.swift @@ -120,7 +120,11 @@ final class CaptureModel: ObservableObject { /// Whether the pen is active (drag draws instead of selecting) @Published var tool: Tool = .select /// Actual-size view: 1 image pixel per screen pixel, scrollable. - @Published var isActualSize = false + /// Persisted so the choice carries over to new windows and launches. + @Published var isActualSize: Bool = UserDefaults.standard.bool(forKey: CaptureModel.actualSizeKey) { + didSet { UserDefaults.standard.set(isActualSize, forKey: CaptureModel.actualSizeKey) } + } + private static let actualSizeKey = "actualSizeView" /// Current drawing color @Published var drawColor: NSColor = .systemRed /// Stroke thickness in points (image space) diff --git a/build-app.sh b/build-app.sh index bd4b74e..49c4aac 100755 --- a/build-app.sh +++ b/build-app.sh @@ -108,9 +108,9 @@ cat > "$APP/Contents/Info.plist" <<'PLIST' CFBundleIconFile Icon CFBundleShortVersionString - 1.11.2 + 1.11.3 CFBundleVersion - 112 + 113 LSUIElement NSHighResolutionCapable