diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-10-10 10:32:41 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-10-10 10:32:41 +0300 |
commit | 73430f292b8c0b3803c7d346195ec1cdffd194b8 (patch) | |
tree | 9fe51c7c236623efa303c03ff16cb5e3f020196c /doc/classes | |
parent | ca25c6e0a3f25948ee4a197f3442c66f019e7424 (diff) |
[macOS] Fix window button position and title bar size when editor scale do not match OS UI scale.
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/DisplayServer.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/DisplayServer.xml b/doc/classes/DisplayServer.xml index 0dbaa9c86f..85d9fd34ca 100644 --- a/doc/classes/DisplayServer.xml +++ b/doc/classes/DisplayServer.xml @@ -1116,10 +1116,10 @@ </description> </method> <method name="window_get_safe_title_margins" qualifiers="const"> - <return type="Vector2i" /> + <return type="Vector3i" /> <param index="0" name="window_id" type="int" default="0" /> <description> - Returns left and right margins of the title that are safe to use (contains no buttons or other elements) when [constant WINDOW_FLAG_EXTEND_TO_TITLE] flag is set. + Returns left margins ([code]x[/code]), right margins ([code]y[/code]) adn height ([code]z[/code]) of the title that are safe to use (contains no buttons or other elements) when [constant WINDOW_FLAG_EXTEND_TO_TITLE] flag is set. </description> </method> <method name="window_get_size" qualifiers="const"> |