2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 22:55:11 +00:00

Round radius increased for message bubbles.

This commit is contained in:
John Preston
2016-07-07 15:35:14 +03:00
parent da293755ef
commit 1904a4f48a
23 changed files with 140 additions and 106 deletions

View File

@@ -186,11 +186,11 @@ StorageKey PeerData::userpicUniqueKey() const {
}
void PeerData::saveUserpic(const QString &path, int size) const {
currentUserpic()->pixRounded(size, size).save(path, "PNG");
currentUserpic()->pixRounded(ImageRoundRadius::Small, size, size).save(path, "PNG");
}
QPixmap PeerData::genUserpic(int size) const {
return currentUserpic()->pixRounded(size, size);
return currentUserpic()->pixRounded(ImageRoundRadius::Small, size, size);
}
const Text &BotCommand::descriptionText() const {