From b5fda06f203e8f713a9cbe0d50df78cf84bc4ada Mon Sep 17 00:00:00 2001 From: kobewi Date: Thu, 26 Jan 2023 00:44:29 +0100 Subject: Don't change region_rect when setting texture --- doc/classes/StyleBoxTexture.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'doc/classes/StyleBoxTexture.xml') diff --git a/doc/classes/StyleBoxTexture.xml b/doc/classes/StyleBoxTexture.xml index 745187ed63..f2f6e59a9e 100644 --- a/doc/classes/StyleBoxTexture.xml +++ b/doc/classes/StyleBoxTexture.xml @@ -82,6 +82,7 @@ Species a sub-region of the texture to use. This is equivalent to first wrapping the texture in an [AtlasTexture] with the same region. + If empty ([code]Rect2(0, 0, 0, 0)[/code]), the whole texture will be used. The texture to use when drawing this style box. -- cgit v1.2.3