mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Add hierarchy of GIF pausing inside a window.
GIFs get paused if some other layer is displayed above. Media preview > Box or layer > Saved GIFs panel > Inline bot results. If any of those is displayed, GIFs inside message history pause too.
This commit is contained in:
@@ -540,10 +540,6 @@ void MainWidget::notify_migrateUpdated(PeerData *peer) {
|
||||
_history->notify_migrateUpdated(peer);
|
||||
}
|
||||
|
||||
void MainWidget::notify_clipStopperHidden(ClipStopperType type) {
|
||||
_history->notify_clipStopperHidden(type);
|
||||
}
|
||||
|
||||
void MainWidget::ui_repaintHistoryItem(const HistoryItem *item) {
|
||||
_history->ui_repaintHistoryItem(item);
|
||||
if (item->history()->lastMsg == item) {
|
||||
@@ -554,10 +550,6 @@ void MainWidget::ui_repaintHistoryItem(const HistoryItem *item) {
|
||||
if (_overview) _overview->ui_repaintHistoryItem(item);
|
||||
}
|
||||
|
||||
bool MainWidget::ui_isInlineItemBeingChosen() {
|
||||
return _history->ui_isInlineItemBeingChosen();
|
||||
}
|
||||
|
||||
void MainWidget::notify_historyItemLayoutChanged(const HistoryItem *item) {
|
||||
_history->notify_historyItemLayoutChanged(item);
|
||||
if (_overview) _overview->notify_historyItemLayoutChanged(item);
|
||||
|
Reference in New Issue
Block a user