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
commit 55cc46a052
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

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 {