mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
links preview resize fixed, version 0.8.4
This commit is contained in:
@@ -17,8 +17,8 @@ Copyright (c) 2014 John Preston, https://desktop.telegram.org
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
static const int32 AppVersion = 8003;
|
||||
static const wchar_t *AppVersionStr = L"0.8.3";
|
||||
static const int32 AppVersion = 8004;
|
||||
static const wchar_t *AppVersionStr = L"0.8.4";
|
||||
static const bool DevChannel = false;
|
||||
|
||||
static const wchar_t *AppNameOld = L"Telegram Win (Unofficial)";
|
||||
|
@@ -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