Skip to content

Commit ba93386

Browse files
committed
Stop integral labels disappearing after selecting disabled commands.
1 parent 2d82560 commit ba93386

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

LuaUI/Widgets/gui_chili_integral_menu.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1247,6 +1247,9 @@ local function GetButton(parent, name, selectionIndex, x, y, xStr, yStr, width,
12471247
return
12481248
end
12491249
textBoxes[textPosition]:SetVisibility(newVisible)
1250+
if newVisible then
1251+
textBoxes[textPosition]:BringToFront()
1252+
end
12501253

12511254
if (not newVisible) or (text == textBoxes[textPosition].caption) then
12521255
return

0 commit comments

Comments
 (0)