mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Snap floating player to column and corner.
This commit is contained in:
@@ -2648,18 +2648,7 @@ namespace {
|
||||
auto gifs = ::gifItems;
|
||||
for_const (auto item, gifs) {
|
||||
if (auto media = item->getMedia()) {
|
||||
media->stopInline();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void stopRoundVideoPlayback() {
|
||||
if (!::gifItems.isEmpty()) {
|
||||
auto gifs = ::gifItems;
|
||||
for_const (auto item, gifs) {
|
||||
if (auto media = item->getMedia()) {
|
||||
if (media->isRoundVideoPlaying()) {
|
||||
if (!media->isRoundVideoPlaying()) {
|
||||
media->stopInline();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user