From a1f517b77d7182a660ade11d5b18450e98f957bb Mon Sep 17 00:00:00 2001 From: Markus Sauermann <6299227+Sauermann@users.noreply.github.com> Date: Fri, 23 Jun 2023 22:35:25 +0200 Subject: [PATCH] Fix documentation of `popup_centered_ratio` --- doc/classes/Window.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/classes/Window.xml b/doc/classes/Window.xml index 79ba768b79..725ac92117 100644 --- a/doc/classes/Window.xml +++ b/doc/classes/Window.xml @@ -378,7 +378,8 @@ - Popups the [Window] centered inside its parent [Window] and sets its size as a [param ratio] of parent's size. + If [Window] is embedded, popups the [Window] centered inside its embedder and sets its size as a [param ratio] of embedder's size. + If [Window] is a native window, popups the [Window] centered inside the screen of its parent [Window] and sets its size as a [param ratio] of the screen size.