2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Fix glitches in search results.

This commit is contained in:
John Preston
2022-12-06 20:32:58 +04:00
parent 6abfdd20fa
commit a8106aa38d
4 changed files with 15 additions and 3 deletions

View File

@@ -778,6 +778,7 @@ void InnerWidget::paintEvent(QPaintEvent *e) {
: _peerSearchSelected));
paintPeerSearchResult(p, result.get(), {
.st = &st::defaultDialogRow,
.currentBg = currentBg(),
.now = ms,
.width = fullWidth,
.active = active,
@@ -792,6 +793,7 @@ void InnerWidget::paintEvent(QPaintEvent *e) {
if (_searchInChat || _searchFromPeer) {
paintSearchInChat(p, {
.st = &st::forumTopicRow,
.currentBg = currentBg(),
.now = ms,
.width = fullWidth,
.paused = videoPaused,
@@ -848,6 +850,7 @@ void InnerWidget::paintEvent(QPaintEvent *e) {
.st = _st,
.folder = _openedFolder,
.forum = _openedForum,
.currentBg = currentBg(),
.filter = _filterId,
.now = ms,
.width = fullWidth,