mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
media overview almost done
This commit is contained in:
@@ -2198,7 +2198,7 @@ void HistoryWidget::onSend() {
|
||||
}
|
||||
|
||||
mtpRequestId HistoryWidget::onForward(const PeerId &peer, bool forwardSelected) {
|
||||
if (!_list) return 0;
|
||||
if (forwardSelected && !_list) return 0;
|
||||
|
||||
HistoryItemSet toForward;
|
||||
if (forwardSelected) {
|
||||
@@ -2295,6 +2295,14 @@ MsgId HistoryWidget::activeMsgId() const {
|
||||
return hist ? hist->activeMsgId : (_activeHist ? _activeHist->activeMsgId : 0);
|
||||
}
|
||||
|
||||
int32 HistoryWidget::lastWidth() const {
|
||||
return width();
|
||||
}
|
||||
|
||||
int32 HistoryWidget::lastScrollTop() const {
|
||||
return _scroll.scrollTop();
|
||||
}
|
||||
|
||||
void HistoryWidget::animShow(const QPixmap &bgAnimCache, const QPixmap &bgAnimTopBarCache, bool back) {
|
||||
_bgAnimCache = bgAnimCache;
|
||||
_bgAnimTopBarCache = bgAnimTopBarCache;
|
||||
|
Reference in New Issue
Block a user