Render screenshot pixels crisply in the result window

The result image was upscaled with interpolated smoothing, making small
captures look low-res. Disable interpolation so pixels stay 1:1 sharp.

💘 Generated with Crush

Assisted-by: Crush:deepseek-v4-flash-0731
This commit is contained in:
2026-08-12 16:07:42 +08:00
parent 234a4226c5
commit 1a5771ec27
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -195,6 +195,7 @@ struct ResultView: View {
if model.mode == .screenshot {
Image(nsImage: NSImage(cgImage: model.image, size: .zero))
.resizable()
.interpolation(.none)
.aspectRatio(contentMode: .fit)
.border(Color.secondary.opacity(0.4))
.padding(.horizontal, 12)