mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-07 20:26:25 +00:00
[thanos] Added GPU-accelerated particle dissolution effect for messages.
This commit is contained in:
@@ -2182,6 +2182,16 @@ rpl::producer<not_null<const HistoryItem*>> Session::itemRemoved(
|
||||
});
|
||||
}
|
||||
|
||||
void Session::notifyViewAboutToBeRemoved(
|
||||
not_null<const ViewElement*> view) {
|
||||
_viewAboutToBeRemoved.fire_copy(view);
|
||||
}
|
||||
|
||||
rpl::producer<not_null<const ViewElement*>>
|
||||
Session::viewAboutToBeRemoved() const {
|
||||
return _viewAboutToBeRemoved.events();
|
||||
}
|
||||
|
||||
void Session::notifyViewRemoved(not_null<const ViewElement*> view) {
|
||||
_viewRemoved.fire_copy(view);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user