summaryrefslogtreecommitdiff
path: root/scene/gui/video_player.cpp
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2021-12-06 14:02:34 +0100
committerkobewi <kobewi4e@gmail.com>2021-12-06 14:02:34 +0100
commitea7cc1dea93e0003182be2941d10124043c30edf (patch)
tree9319d2b2337d1ac0b156842c98a5aa2f104a347e /scene/gui/video_player.cpp
parent608c9f820349ca13f017ea406c790d90729da837 (diff)
Rename minimum_size_changed() method
Diffstat (limited to 'scene/gui/video_player.cpp')
-rw-r--r--scene/gui/video_player.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/video_player.cpp b/scene/gui/video_player.cpp
index 989aabc549..55b7f01fd5 100644
--- a/scene/gui/video_player.cpp
+++ b/scene/gui/video_player.cpp
@@ -191,7 +191,7 @@ Size2 VideoPlayer::get_minimum_size() const {
void VideoPlayer::set_expand(bool p_expand) {
expand = p_expand;
update();
- minimum_size_changed();
+ update_minimum_size();
}
bool VideoPlayer::has_expand() const {
@@ -241,7 +241,7 @@ void VideoPlayer::set_stream(const Ref<VideoStream> &p_stream) {
update();
if (!expand) {
- minimum_size_changed();
+ update_minimum_size();
}
};