Skip to content

Commit

Permalink
Apply default scale of native Vision Pro screen
Browse files Browse the repository at this point in the history
  • Loading branch information
onevcat committed Jun 22, 2023
1 parent 2edd31a commit 8a53a93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Views/AnimatedImageView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ open class AnimatedImageView: UIImageView {
animator = nil
if let image = image, let frameSource = image.kf.frameSource {
#if os(xrOS)
let targetSize = bounds.size
let targetSize = bounds.scaled(3).size
#else
let targetSize = bounds.scaled(UIScreen.main.scale).size
#endif
Expand Down

0 comments on commit 8a53a93

Please sign in to comment.