2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-02 15:35:51 +00:00

Improve 5-line reply text elision.

This commit is contained in:
John Preston
2023-11-06 12:35:27 +04:00
parent d7539349c7
commit b2eeab53c5
15 changed files with 65 additions and 57 deletions

View File

@@ -420,7 +420,7 @@ void PaintRow(
.now = context.now,
.pausedEmoji = context.paused || On(PowerSaving::kEmojiChat),
.pausedSpoiler = context.paused || On(PowerSaving::kChatSpoiler),
.elisionOneLine = true,
.elisionLines = 1,
});
} else if (draft
|| (supportMode
@@ -514,7 +514,7 @@ void PaintRow(
.now = context.now,
.pausedEmoji = context.paused || On(PowerSaving::kEmojiChat),
.pausedSpoiler = context.paused || On(PowerSaving::kChatSpoiler),
.elisionOneLine = true,
.elisionLines = 1,
});
}
} else if (!item) {