浏览代码

Document caveats with StyleBoxFlat antialiasing and beveled corners

(cherry picked from commit f7f8ae6372d7fb87903f349ffb65979fa621b277)
Hugo Locurcio 4 年之前
父节点
当前提交
8e55a1870f
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      doc/classes/StyleBoxFlat.xml

+ 1 - 0
doc/classes/StyleBoxFlat.xml

@@ -120,6 +120,7 @@
 	<members>
 		<member name="anti_aliasing" type="bool" setter="set_anti_aliased" getter="is_anti_aliased" default="true">
 			Antialiasing draws a small ring around the edges, which fades to transparency. As a result, edges look much smoother. This is only noticeable when using rounded corners.
+			[b]Note:[/b] When using beveled corners with 45-degree angles ([member corner_detail] = 1), it is recommended to set [member anti_aliasing] to [code]false[/code] to ensure crisp visuals and avoid possible visual glitches.
 		</member>
 		<member name="anti_aliasing_size" type="int" setter="set_aa_size" getter="get_aa_size" default="1">
 			This changes the size of the faded ring. Higher values can be used to achieve a "blurry" effect.