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

Updates minimum size on VideoPlayer::set_stream

This commit is contained in:
Haoyu Qiu
2020-01-26 10:24:56 +08:00
parent be1bc53d42
commit 71b1a1c7d9

View File

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