diff options
author | Thaddeus Crews <repiteo@outlook.com> | 2024-11-27 10:47:16 -0600 |
---|---|---|
committer | Thaddeus Crews <repiteo@outlook.com> | 2024-11-27 10:47:16 -0600 |
commit | 539be43dadc0d9184024bd7a65354b92bee19f80 (patch) | |
tree | c93358351e4edff7b491086463b3b4df7e5bc717 | |
parent | 70ea5713cf2aba739d0529d14a66c410edfd078c (diff) | |
parent | 3413c6ce9df6206ccb9d2f3f73efaebefe81833d (diff) | |
download | redot-engine-539be43dadc0d9184024bd7a65354b92bee19f80.tar.gz |
Merge pull request #99677 from syntaxerror247/patch-1
Update `screen_get_scale` documentation.
-rw-r--r-- | doc/classes/DisplayServer.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/DisplayServer.xml b/doc/classes/DisplayServer.xml index e2a352de9a..47611e59df 100644 --- a/doc/classes/DisplayServer.xml +++ b/doc/classes/DisplayServer.xml @@ -1135,7 +1135,7 @@ Returns the scale factor of the specified screen by index. [b]Note:[/b] On macOS, the returned value is [code]2.0[/code] for hiDPI (Retina) screens, and [code]1.0[/code] for all other cases. [b]Note:[/b] On Linux (Wayland), the returned value is accurate only when [param screen] is [constant SCREEN_OF_MAIN_WINDOW]. Due to API limitations, passing a direct index will return a rounded-up integer, if the screen has a fractional scale (e.g. [code]1.25[/code] would get rounded up to [code]2.0[/code]). - [b]Note:[/b] This method is implemented only on macOS and Linux (Wayland). + [b]Note:[/b] This method is implemented on Android, iOS, Web, macOS, and Linux (Wayland). </description> </method> <method name="screen_get_size" qualifiers="const"> |