mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Move draw / getState code to HistoryView::Message.
Item dimensions broken for now. Also remove history.h from pch.
This commit is contained in:
@@ -9,6 +9,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
|
||||
#include "styles/style_dialogs.h"
|
||||
#include "ui/effects/ripple_animation.h"
|
||||
#include "dialogs/dialogs_entry.h"
|
||||
#include "mainwidget.h"
|
||||
|
||||
namespace Dialogs {
|
||||
@@ -39,6 +40,10 @@ void RippleRow::paintRipple(Painter &p, int x, int y, int outerWidth, TimeMs ms,
|
||||
}
|
||||
}
|
||||
|
||||
uint64 Row::sortKey() const {
|
||||
return _id.entry()->sortKeyInChatList();
|
||||
}
|
||||
|
||||
FakeRow::FakeRow(PeerData *searchInPeer, not_null<HistoryItem*> item)
|
||||
: _searchInPeer(searchInPeer)
|
||||
, _item(item)
|
||||
|
Reference in New Issue
Block a user