Draw command description strings in proper order

This commit is contained in:
Aussiemon 2023-03-12 20:17:59 -06:00
parent 3182e06c25
commit 76e6d748b6

View file

@ -193,7 +193,7 @@ local function draw(commands_list, selected_command_index)
-- draw command description text (2+ strings) -- draw command description text (2+ strings)
if command.selected and multistring then if command.selected and multistring then
for j = 2, selected_strings_number do for j = selected_strings_number, 2, -1 do
string_position.y = string_position.y - STRING_HEIGHT * scale string_position.y = string_position.y - STRING_HEIGHT * scale
Gui.slug_text(_gui, command_text_strings[j], font, font_size, Gui.slug_text(_gui, command_text_strings[j], font, font_size,
string_position, nil, Color(255, 255, 255, 255)) string_position, nil, Color(255, 255, 255, 255))