Updates minimum size on VideoPlayer::set_stream
This commit is contained in:
parent
be1bc53d42
commit
71b1a1c7d9
1 changed files with 4 additions and 0 deletions
|
@ -249,6 +249,10 @@ void VideoPlayer::set_stream(const Ref<VideoStream> &p_stream) {
|
|||
}
|
||||
|
||||
update();
|
||||
|
||||
if (!expand) {
|
||||
minimum_size_changed();
|
||||
}
|
||||
};
|
||||
|
||||
Ref<VideoStream> VideoPlayer::get_stream() const {
|
||||
|
|
Loading…
Reference in a new issue