Browse Source

Mention performance caveats of `OS.set_window_title()`

See #32254.
Hugo Locurcio 6 năm trước cách đây
mục cha
commit
c99d80b414
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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">