Skip to content

Commit

Permalink
Fix documentation of popup_centered_ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
Sauermann committed Jun 23, 2023
1 parent 68193be commit a1f517b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/classes/Window.xml
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,8 @@
<return type="void" />
<param index="0" name="ratio" type="float" default="0.8" />
<description>
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.
</description>
</method>
<method name="popup_exclusive">
Expand Down

0 comments on commit a1f517b

Please sign in to comment.