Merge pull request #35569 from timothyqiu/video-player-min-size
Updates minimum size on VideoPlayer::set_stream
This commit is contained in:
commit
55cc46a052
@ -249,6 +249,10 @@ void VideoPlayer::set_stream(const Ref<VideoStream> &p_stream) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
update();
|
update();
|
||||||
|
|
||||||
|
if (!expand) {
|
||||||
|
minimum_size_changed();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
Ref<VideoStream> VideoPlayer::get_stream() const {
|
Ref<VideoStream> VideoPlayer::get_stream() const {
|
||||||
|
Loading…
Reference in New Issue
Block a user