Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoHinderling committed Nov 21, 2024
1 parent f304a4b commit 5630859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public class AppKitRenderingStrategy: RenderingStrategy {
let image = vc?.view.snapshot()
completion(
SnapshotResult(
image: image != nil ? .success(image!) : .failure(RenderingError.failedRendering(UIScreen.main.bounds.size)),
image: image != nil ? .success(image!) : .failure(RenderingError.failedRendering(NSScreen.main.frame.size)),
precision: precision,
accessibilityEnabled: accessibilityEnabled,
accessibilityMarkers: nil,
Expand Down

0 comments on commit 5630859

Please sign in to comment.