Update to the latest RSCore

This commit is contained in:
Maurice Parker 2020-03-18 16:08:17 -05:00
parent 8a75defee9
commit 4d18c34759
2 changed files with 2 additions and 2 deletions

View File

@ -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