Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
c0re100 committed Jan 2, 2025
1 parent e965e65 commit 2ff0af3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions Telegram/SourceFiles/history/view/history_view_message.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3485,6 +3485,15 @@ void Message::itemDataChanged() {
}
}

auto Message::verticalRepaintRange() const -> VerticalRepaintRange {
const auto media = this->media();
const auto add = media ? media->bubbleRollRepaintMargins() : QMargins();
return {
.top = -add.top(),
.height = height() + add.top() + add.bottom()
};
}

void Message::refreshDataIdHook() {
if (_rightAction && base::take(_rightAction->link)) {
_rightAction->link = rightActionLink(_rightAction->lastPoint);
Expand Down
2 changes: 1 addition & 1 deletion Telegram/SourceFiles/window/window_filters_menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ void FiltersMenu::setupList() {
_setup = prepareButton(
_container,
-1,
tr::lng_saved_messages(tr::now),
{ TextWithEntities{ tr::lng_saved_messages(tr::now) } },
Ui::FilterIcon::SavedMessage);
}

Expand Down

0 comments on commit 2ff0af3

Please sign in to comment.