2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 23:55:12 +00:00

More large emoji layout improvements.

This commit is contained in:
John Preston
2019-08-06 12:27:11 +01:00
parent 169db40e9f
commit 230dd29af5
7 changed files with 43 additions and 10 deletions

View File

@@ -2759,6 +2759,11 @@ void History::resizeToWidth(int newWidth) {
_height = y;
}
void History::forceFullResize() {
_width = 0;
_flags |= Flag::f_has_pending_resized_items;
}
ChannelId History::channelId() const {
return peerToChannel(peer->id);
}