Переглянути джерело

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

Mention performance caveats of `OS.set_window_title()`
Rémi Verschelde 6 роки тому
батько
коміт
4bdb3f4016
1 змінених файлів з 1 додано та 0 видалено
  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">