mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Various improvements
This commit is contained in:
@@ -174,7 +174,7 @@ final class EmojiListInputComponent: Component {
|
||||
let minSideInset: CGFloat = 12.0
|
||||
|
||||
self.backgroundColor = component.theme.list.itemBlocksBackgroundColor
|
||||
self.layer.cornerRadius = 12.0
|
||||
self.layer.cornerRadius = 26.0
|
||||
|
||||
let maxItemsWidth = availableSize.width - minSideInset * 2.0
|
||||
let itemsPerRow = Int(floor((maxItemsWidth + minItemSize * itemSpacingFactor) / (minItemSize + minItemSize * itemSpacingFactor)))
|
||||
|
||||
Reference in New Issue
Block a user