mirror of
https://github.com/OldManAlpha/Puppeteer.git
synced 2025-11-28 23:48:35 +00:00
Minor changes
This commit is contained in:
parent
f952fc85dc
commit
cbda126d3b
@ -60,7 +60,7 @@ SlashCmdList["PUPPETEER"] = function(args)
|
||||
PTUtil.Colorize("off", 1, 0.6, 0.6) or PTUtil.Colorize("on", 0.6, 1, 0.6))..".")
|
||||
elseif args == "help" or args == "?" then
|
||||
DEFAULT_CHAT_FRAME:AddMessage(PTUtil.Colorize("/pt", 0, 0.8, 0).." -- Opens the addon configuration")
|
||||
DEFAULT_CHAT_FRAME:AddMessage(PTUtil.Colorize("/pt reset", 0, 0.8, 0).." -- Resets all heal frame positions")
|
||||
DEFAULT_CHAT_FRAME:AddMessage(PTUtil.Colorize("/pt reset", 0, 0.8, 0).." -- Resets all frame positions")
|
||||
DEFAULT_CHAT_FRAME:AddMessage(PTUtil.Colorize("/pt testui", 0, 0.8, 0)..
|
||||
" -- Toggles fake players to see how the UI would look")
|
||||
DEFAULT_CHAT_FRAME:AddMessage(PTUtil.Colorize("/pt toggle", 0, 0.8, 0).." -- Shows/hides the UI")
|
||||
|
||||
@ -137,6 +137,9 @@ function ApplyOverrideBindings()
|
||||
end
|
||||
|
||||
function RemoveOverrideBindings()
|
||||
if util.IsTableEmpty(StoredBindings) then
|
||||
return
|
||||
end
|
||||
StopUpdateBindingsUpdates()
|
||||
for button, binding in pairs(StoredBindings) do
|
||||
SetBinding(button, binding)
|
||||
|
||||
@ -252,7 +252,6 @@ function _UpdateBindingDisplay(binding, entry)
|
||||
text = colorize(text.." (Invalid Macro)", 1, 0.4, 0.4)
|
||||
end
|
||||
entry.Normal = text
|
||||
--rightText = colorize(macro.." (Invalid Macro)", 1, 0.4, 0.4)
|
||||
elseif binding.Type == "SCRIPT" then
|
||||
entry.Normal = colorize(text or "Script", textColor)
|
||||
elseif binding.Type == "MULTI" then
|
||||
|
||||
@ -500,6 +500,7 @@ function CreateTab_Options_Advanced(panel)
|
||||
editor:Dispose()
|
||||
PopOverlayFrame()
|
||||
end)
|
||||
editor:GetEditbox():SetFocus()
|
||||
AddOverlayFrame(editor)
|
||||
end)
|
||||
local postLoadScriptInfo = CreateLabel(container, "The Postload Script runs after everything is initialized. "..
|
||||
@ -523,6 +524,7 @@ function CreateTab_Options_Advanced(panel)
|
||||
editor:Dispose()
|
||||
PopOverlayFrame()
|
||||
end)
|
||||
editor:GetEditbox():SetFocus()
|
||||
AddOverlayFrame(editor)
|
||||
end)
|
||||
local reloadInfo = CreateLabel(container, "A reload or relog is required for any changes to take effect.")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user