Kongfa Waroros 3 лет назад
Родитель
Сommit
0d852bf5a6
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      doc/classes/OS.xml

+ 4 - 4
doc/classes/OS.xml

@@ -350,7 +350,7 @@
 			<return type="int" />
 			<return type="int" />
 			<argument index="0" name="screen" type="int" default="-1" />
 			<argument index="0" name="screen" type="int" default="-1" />
 			<description>
 			<description>
-				Returns the dots per inch density of the specified screen. If [code]screen[/code] is [/code]-1[/code] (the default value), the current screen will be used.
+				Returns the dots per inch density of the specified screen. If [code]screen[/code] is [code]-1[/code] (the default value), the current screen will be used.
 				[b]Note:[/b] On macOS, returned value is inaccurate if fractional display scaling mode is used.
 				[b]Note:[/b] On macOS, returned value is inaccurate if fractional display scaling mode is used.
 				[b]Note:[/b] On Android devices, the actual screen densities are grouped into six generalized densities:
 				[b]Note:[/b] On Android devices, the actual screen densities are grouped into six generalized densities:
 				[codeblock]
 				[codeblock]
@@ -376,14 +376,14 @@
 			<return type="Vector2" />
 			<return type="Vector2" />
 			<argument index="0" name="screen" type="int" default="-1" />
 			<argument index="0" name="screen" type="int" default="-1" />
 			<description>
 			<description>
-				Returns the position of the specified screen by index. If [code]screen[/code] is [/code]-1[/code] (the default value), the current screen will be used.
+				Returns the position of the specified screen by index. If [code]screen[/code] is [code]-1[/code] (the default value), the current screen will be used.
 			</description>
 			</description>
 		</method>
 		</method>
 		<method name="get_screen_scale" qualifiers="const">
 		<method name="get_screen_scale" qualifiers="const">
 			<return type="float" />
 			<return type="float" />
 			<argument index="0" name="screen" type="int" default="-1" />
 			<argument index="0" name="screen" type="int" default="-1" />
 			<description>
 			<description>
-				Return the scale factor of the specified screen by index. If [code]screen[/code] is [/code]-1[/code] (the default value), the current screen will be used.
+				Return the scale factor of the specified screen by index. If [code]screen[/code] is [code]-1[/code] (the default value), the current screen will be used.
 				[b]Note:[/b] On macOS returned value is [code]2.0[/code] for hiDPI (Retina) screen, and [code]1.0[/code] for all other cases.
 				[b]Note:[/b] On macOS returned value is [code]2.0[/code] for hiDPI (Retina) screen, and [code]1.0[/code] for all other cases.
 				[b]Note:[/b] This method is implemented on macOS.
 				[b]Note:[/b] This method is implemented on macOS.
 			</description>
 			</description>
@@ -392,7 +392,7 @@
 			<return type="Vector2" />
 			<return type="Vector2" />
 			<argument index="0" name="screen" type="int" default="-1" />
 			<argument index="0" name="screen" type="int" default="-1" />
 			<description>
 			<description>
-				Returns the dimensions in pixels of the specified screen. If [code]screen[/code] is [/code]-1[/code] (the default value), the current screen will be used.
+				Returns the dimensions in pixels of the specified screen. If [code]screen[/code] is [code]-1[/code] (the default value), the current screen will be used.
 			</description>
 			</description>
 		</method>
 		</method>
 		<method name="get_splash_tick_msec" qualifiers="const">
 		<method name="get_splash_tick_msec" qualifiers="const">