Update to the latest RSCore
This commit is contained in:
parent
8a75defee9
commit
4d18c34759
|
@ -28,7 +28,7 @@ extension RSImage {
|
|||
}
|
||||
|
||||
static func scaledForIcon(_ data: Data) -> RSImage? {
|
||||
let scaledMaxPixelSize = Int(ceil(CGFloat(RSImage.maxIconSize) * RSScreen.mainScreenScale))
|
||||
let scaledMaxPixelSize = Int(ceil(CGFloat(RSImage.maxIconSize) * RSScreen.maxScreenScale))
|
||||
guard var cgImage = RSImage.scaleImage(data, maxPixelSize: scaledMaxPixelSize) else {
|
||||
return nil
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 34551c7cebf98605e603d73983c8ad70cc9d390c
|
||||
Subproject commit 34e67f8b5f566c29b60bbf6d31331334da0711fe
|
Loading…
Reference in New Issue