mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 06:55:58 +00:00
Merge branch 'master' of https://github.com/telegramdesktop/tdesktop into dev
This commit is contained in:
@@ -1138,6 +1138,11 @@ void MainWidget::itemReplaced(HistoryItem *oldItem, HistoryItem *newItem) {
|
||||
void MainWidget::itemResized(HistoryItem *row, bool scrollToIt) {
|
||||
if (!row || (history.peer() == row->history()->peer && !row->detached())) {
|
||||
history.itemResized(row, scrollToIt);
|
||||
} else if (row) {
|
||||
row->history()->width = 0;
|
||||
if (history.peer() == row->history()->peer) {
|
||||
history.resizeEvent(0);
|
||||
}
|
||||
}
|
||||
if (overview) {
|
||||
overview->itemResized(row, scrollToIt);
|
||||
|
Reference in New Issue
Block a user