2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Replaced "ballons" with "bubbles"

This commit is contained in:
RadRussianRus
2020-01-18 18:51:07 +03:00
parent b34ad59da7
commit c620c23218
18 changed files with 56 additions and 51 deletions

View File

@@ -251,7 +251,7 @@ void Generator::addAudioBubble(QVector<int> waveform, int waveactive, QString wa
tleft = st::msgFilePadding.left() + st::msgFileSize + st::msgFilePadding.right();
tright = st::msgFileThumbPadding.left();
accumulate_max(width, tleft + st::normalFont->width(wavestatus) + skipBlock.width() + st::msgPadding.right());
if (!cAdaptiveBaloons()) {
if (!cAdaptiveBubbles()) {
accumulate_min(width, st::msgMaxWidth);
}
@@ -281,7 +281,7 @@ void Generator::addTextBubble(QString text, QString date, Status status) {
auto width = _history.width() - st::msgMargin.left() - st::msgMargin.right();
accumulate_min(width, st::msgPadding.left() + bubble.text.maxWidth() + st::msgPadding.right());
if (!cAdaptiveBaloons()) {
if (!cAdaptiveBubbles()) {
accumulate_min(width, st::msgMaxWidth);
}
@@ -307,7 +307,7 @@ void Generator::addPhotoBubble(QString image, QString caption, QString date, Sta
auto width = _history.width() - st::msgMargin.left() - st::msgMargin.right();
accumulate_min(width, bubble.photoWidth);
if (!cAdaptiveBaloons()) {
if (!cAdaptiveBubbles()) {
accumulate_min(width, st::msgMaxWidth);
}