Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cac85402a3 |
@@ -120,7 +120,11 @@ final class CaptureModel: ObservableObject {
|
|||||||
/// Whether the pen is active (drag draws instead of selecting)
|
/// Whether the pen is active (drag draws instead of selecting)
|
||||||
@Published var tool: Tool = .select
|
@Published var tool: Tool = .select
|
||||||
/// Actual-size view: 1 image pixel per screen pixel, scrollable.
|
/// 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
|
/// Current drawing color
|
||||||
@Published var drawColor: NSColor = .systemRed
|
@Published var drawColor: NSColor = .systemRed
|
||||||
/// Stroke thickness in points (image space)
|
/// Stroke thickness in points (image space)
|
||||||
|
|||||||
+2
-2
@@ -108,9 +108,9 @@ cat > "$APP/Contents/Info.plist" <<'PLIST'
|
|||||||
<key>CFBundleIconFile</key>
|
<key>CFBundleIconFile</key>
|
||||||
<string>Icon</string>
|
<string>Icon</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>1.11.2</string>
|
<string>1.11.3</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>112</string>
|
<string>113</string>
|
||||||
<key>LSUIElement</key>
|
<key>LSUIElement</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>NSHighResolutionCapable</key>
|
<key>NSHighResolutionCapable</key>
|
||||||
|
|||||||
Reference in New Issue
Block a user