From f7f8ae6372d7fb87903f349ffb65979fa621b277 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Tue, 14 Sep 2021 18:47:45 +0200 Subject: [PATCH] Document caveats with StyleBoxFlat antialiasing and beveled corners --- doc/classes/StyleBoxFlat.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/StyleBoxFlat.xml b/doc/classes/StyleBoxFlat.xml index 59ab724f48b8..40f6075528aa 100644 --- a/doc/classes/StyleBoxFlat.xml +++ b/doc/classes/StyleBoxFlat.xml @@ -120,6 +120,7 @@ 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. This changes the size of the faded ring. Higher values can be used to achieve a "blurry" effect.