mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Save item views in App::*Item() variables.
Also remove App::contextItem. Also use owning pointers for history context menus.
This commit is contained in:
@@ -550,7 +550,7 @@ int HistoryService::resizeContentGetHeight() {
|
||||
}
|
||||
_height += st::msgServicePadding.top() + st::msgServicePadding.bottom() + st::msgServiceMargin.top() + st::msgServiceMargin.bottom();
|
||||
if (_media) {
|
||||
_height += st::msgServiceMargin.top() + _media->resizeGetHeight(_media->currentWidth());
|
||||
_height += st::msgServiceMargin.top() + _media->resizeGetHeight(_media->width());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user