Auto-detect window corner radius; anti-alias the mask

Measure the picked window's real corner radius from the capture itself
(the crop's corner pixels are the desktop background; app content starts
where the color departs), correct for arc anti-aliasing, and fall back to
10pt when ambiguous. The clip mask is supersampled 3x for smooth edges.

💘 Generated with Crush

Assisted-by: Crush:deepseek-v4-flash-0731
This commit is contained in:
2026-09-09 15:20:21 +08:00
parent 924a692f2b
commit 07642ca408
2 changed files with 60 additions and 10 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.8.4</string>
<string>1.8.5</string>
<key>CFBundleVersion</key>
<string>84</string>
<string>85</string>
<key>LSUIElement</key>
<true/>
<key>NSHighResolutionCapable</key>