Fix vertical offset when capturing the secondary display

The first ScreenCaptureKit Y-flip used the wrong reference edges, shifting
cropped selections on displays below the main screen. Convert each selection
per-display as scY = appKitY - NSScreen.maxY + SCDisplay.maxY, which
matches both the main and secondary displays.

💘 Generated with Crush

Assisted-by: Crush:deepseek-v4-flash-0731
This commit is contained in:
2026-08-12 16:51:18 +08:00
parent 590be2356f
commit 3fdc2fca95
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -108,9 +108,9 @@ cat > "$APP/Contents/Info.plist" <<'PLIST'
<key>CFBundleIconFile</key>
<string>Icon</string>
<key>CFBundleShortVersionString</key>
<string>1.1.7</string>
<string>1.1.8</string>
<key>CFBundleVersion</key>
<string>17</string>
<string>18</string>
<key>LSUIElement</key>
<true/>
<key>NSHighResolutionCapable</key>