From 10f86c67fefb8866e409233a4576cd7a43a538e7 Mon Sep 17 00:00:00 2001 From: Cody Glassman Date: Wed, 2 Jul 2025 06:04:39 -0700 Subject: [PATCH] docs - fix spacing in example lua --- .../reference/lua-scripting/user_interface.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/source/reference/lua-scripting/user_interface.rst b/docs/source/reference/lua-scripting/user_interface.rst index 5be573ee24..b8d9166b8f 100644 --- a/docs/source/reference/lua-scripting/user_interface.rst +++ b/docs/source/reference/lua-scripting/user_interface.rst @@ -104,15 +104,15 @@ Example layer = 'HUD', type = ui.TYPE.Text, props = { - -- position in the top right corner - relativePosition = util.vector2(1, 0), - -- position is for the top left corner of the widget by default - -- change it to align exactly to the top right corner of the screen - anchor = util.vector2(1, 0), - text = calendar.formatGameTime('%H:%M'), - textSize = 24, - -- default black text color isn't always visible - textColor = util.color.rgb(0, 1, 0), + -- position in the top right corner + relativePosition = util.vector2(1, 0), + -- position is for the top left corner of the widget by default + -- change it to align exactly to the top right corner of the screen + anchor = util.vector2(1, 0), + text = calendar.formatGameTime('%H:%M'), + textSize = 24, + -- default black text color isn't always visible + textColor = util.color.rgb(0, 1, 0), }, }