diff options
author | Cameron Reikes <cameronreikes@gmail.com> | 2018-12-14 19:14:51 -0800 |
---|---|---|
committer | Cameron Reikes <cameronreikes@gmail.com> | 2018-12-14 19:14:51 -0800 |
commit | 3697dc0fc155b73c1b49a5819af0f26289ffdf78 (patch) | |
tree | 23be8eb0ac57abbc4ea9c0d43b4be89e9aae5cd3 /doc/classes | |
parent | 4629152d68f715514be38921db192251a6de6715 (diff) |
Clarify what popup_centered actually does
As was discussed in issue #24309, the method description doesn't
always accurately describe resultant behavior and can be
confusing.
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/Popup.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/classes/Popup.xml b/doc/classes/Popup.xml index ae5bce5d7d..8eec105a80 100644 --- a/doc/classes/Popup.xml +++ b/doc/classes/Popup.xml @@ -26,7 +26,7 @@ <argument index="0" name="size" type="Vector2" default="Vector2( 0, 0 )"> </argument> <description> - Popup (show the control in modal form) in the center of the screen, at the current size, or at a size determined by "size". + Popup (show the control in modal form) in the center of the screen relative to its current canvas transform, at the current size, or at a size determined by "size". </description> </method> <method name="popup_centered_minsize"> @@ -35,7 +35,7 @@ <argument index="0" name="minsize" type="Vector2" default="Vector2( 0, 0 )"> </argument> <description> - Popup (show the control in modal form) in the center of the screen, ensuring the size is never smaller than [code]minsize[/code]. + Popup (show the control in modal form) in the center of the screen relative to the current canvas transform, ensuring the size is never smaller than [code]minsize[/code]. </description> </method> <method name="popup_centered_ratio"> @@ -44,7 +44,7 @@ <argument index="0" name="ratio" type="float" default="0.75"> </argument> <description> - Popup (show the control in modal form) in the center of the screen, scaled at a ratio of size of the screen. + Popup (show the control in modal form) in the center of the screen relative to the current canvas transform, scaled at a ratio of size of the screen. </description> </method> </methods> |