Explorar o código

Merge pull request #32257 from Calinou/doc-set-window-title-performance

Mention performance caveats of `OS.set_window_title()`
Rémi Verschelde %!s(int64=6) %!d(string=hai) anos
pai
achega
4bdb3f4016
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      doc/classes/OS.xml

+ 1 - 0
doc/classes/OS.xml

@@ -820,6 +820,7 @@
 			</argument>
 			<description>
 				Sets the window title to the specified string.
+				[b]Note:[/b] This should be used sporadically. Don't set this every frame, as that will negatively affect performance on some window managers.
 			</description>
 		</method>
 		<method name="shell_open">