Supply a background for the icon if it is too short or hard to see. Issue #2220

This commit is contained in:
Maurice Parker
2020-07-20 21:01:25 -05:00
parent c0e9f28398
commit e315687cc9
5 changed files with 65 additions and 26 deletions

View File

@@ -25,9 +25,11 @@ final class IconImage {
}()
let image: RSImage
init(_ image: RSImage) {
var isSymbol: Bool
init(_ image: RSImage, isSymbol: Bool = false) {
self.image = image
self.isSymbol = isSymbol
}
}