Pill heigh set to 20px

This commit is contained in:
Arnfried Griesert
2023-11-14 12:49:19 +01:00
parent f662d519be
commit 12087babd4

View File

@@ -184,7 +184,7 @@ class RoomInfoBasicView: UIView {
// append the pill to the room name
if image.size.width > 0.0 && image.size.height > 0.0 {
let aspectRatio = image.size.width / image.size.height
let pillHeight: CGFloat = 16.0
let pillHeight: CGFloat = 20.0
let offset = 0.5 * (font.capHeight - pillHeight)
let attachment = NSTextAttachment()