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:
commit
980d53ad57
@ -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,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user