diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-01-26 10:24:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-26 10:24:38 +0100 |
commit | 55cc46a0523df8df85aa6ffec6b58ff86e5ab1af (patch) | |
tree | 4e4e5b4fb75b30a887d7532e8e10e0ea1f1b0f35 /scene | |
parent | 139ff35e76662b753cc87b6829ca41347e639eeb (diff) | |
parent | 71b1a1c7d9885b417a19bcb9b8c43e47fdcf13d5 (diff) |
Merge pull request #35569 from timothyqiu/video-player-min-size
Updates minimum size on VideoPlayer::set_stream
Diffstat (limited to 'scene')
-rw-r--r-- | scene/gui/video_player.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/gui/video_player.cpp b/scene/gui/video_player.cpp index 071e8a8ac6..0a693d4023 100644 --- a/scene/gui/video_player.cpp +++ b/scene/gui/video_player.cpp @@ -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 { |