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 {