Merge pull request #20740 from ramonlsouza/fix-empty-media-area

fix: Blank space when removing all presentations when external video is playing
This commit is contained in:
Ramón Souza 2024-07-22 08:20:09 -03:00 committed by GitHub
commit 980d53ad57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -187,6 +187,11 @@ class Presentation extends PureComponent {
type: ACTIONS.SET_PRESENTATION_SLIDES_LENGTH,
value: totalPages,
});
} else {
layoutContextDispatch({
type: ACTIONS.SET_PRESENTATION_SLIDES_LENGTH,
value: 0,
});
}
}