Node color changes and quest db menu rework

This commit is contained in:
User
2026-08-20 15:59:05 -05:00
parent b3ce9fc31d
commit 3dfaee29ab
6 changed files with 142 additions and 17 deletions
+9
View File
@@ -3,5 +3,14 @@
QuestieOcto.GameMenu = QuestieOcto.GameMenu or {}
local GM = QuestieOcto.GameMenu
function GM:SetButtonWidth(button, width)
if not button then return nil end
if (not button.GetTextWidth) or (not button.SetWidth) then return nil end
if not width or type(width) ~= "number" then width = 20 end
local buttonTextWidth = button:GetTextWidth()
button:SetWidth(buttonTextWidth + width)
return nil
end
GM.installed=false
GM.stats={ installs=0,clicks=0,anchor="none" }