From 593598c592566249c39c458280aca1f796cb958d Mon Sep 17 00:00:00 2001 From: Rindbee Date: Fri, 10 Feb 2023 21:45:49 +0800 Subject: Calling popup_center* with the default size will use the current size --- doc/classes/Window.xml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/Window.xml b/doc/classes/Window.xml index 14e705a7e6..92050eaa34 100644 --- a/doc/classes/Window.xml +++ b/doc/classes/Window.xml @@ -358,6 +358,7 @@ Popups the [Window] at the center of the current screen, with optionally given minimum size. If the [Window] is embedded, it will be centered in the parent [Viewport] instead. + [b]Note:[/b] Calling it with the default value of [param minsize] is equivalent to calling it with [member size]. @@ -367,6 +368,7 @@ Popups the [Window] centered inside its parent [Window]. [code]fallback_ratio[/code] determines the maximum size of the [Window], in relation to its parent. + [b]Note:[/b] Calling it with the default value of [param minsize] is equivalent to calling it with [member size]. -- cgit v1.2.3