Godot Engine – Multi-platform 2D and 3D game engine
Update reference to Control offset properties in SubViewportContainer documentation
Hugo Locurcio15950ad91763
diff --git a/doc/classes/SubViewportContainer.xml b/doc/classes/SubViewportContainer.xmlindex 7f172444525..359815014a9 100644--- a/doc/classes/SubViewportContainer.xml+++ b/doc/classes/SubViewportContainer.xml@@ -5,7 +5,7 @@</brief_description><description>A container that displays the contents of underlying [SubViewport] child nodes. It uses the combined size of the [SubViewport]s as minimum size, unless [member stretch] is enabled.- [b]Note:[/b] Changing a [SubViewportContainer]'s [member Control.scale] will cause its contents to appear distorted. To change its visual size without causing distortion, adjust the node's margins instead (if it's not already in a container).+ [b]Note:[/b] Changing a [SubViewportContainer]'s [member Control.scale] will cause its contents to appear distorted. To change its visual size without causing distortion, adjust the node's offset properties instead (if it's not already in a container).[b]Note:[/b] The [SubViewportContainer] forwards mouse-enter and mouse-exit notifications to its sub-viewports.</description><tutorials>