mirror of
https://github.com/Blaststar/Questie-Octo-Vanilla.git
synced 2026-10-20 04:10:49 +00:00
Node color changes and quest db menu rework
This commit is contained in:
@@ -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" }
|
||||
Reference in New Issue
Block a user