From 61e2aa79142dfa619d1238172e5c505c7dacc8d0 Mon Sep 17 00:00:00 2001 From: jordi Date: Mon, 18 Dec 2023 09:08:57 -0600 Subject: [PATCH] Redraw SubViewportContainer on SubViewport size change --- scene/main/viewport.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp index c85fda23712..00362476256 100644 --- a/scene/main/viewport.cpp +++ b/scene/main/viewport.cpp @@ -5070,6 +5070,7 @@ void SubViewport::_internal_set_size(const Size2i &p_size, bool p_force) { if (c) { c->update_minimum_size(); + c->queue_redraw(); } }