1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Merge pull request #35569 from timothyqiu/video-player-min-size

Updates minimum size on VideoPlayer::set_stream
This commit is contained in:
Rémi Verschelde
2020-01-26 10:24:38 +01:00
committed by GitHub

View File

@@ -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 {