Version 0.7.2-beta
- minimap button - graphical move arrows - crash on matches with 0-width
This commit is contained in:
@@ -35,10 +35,10 @@ function Grichelde:OnInitialize()
|
||||
self:UpgradeDatabase()
|
||||
|
||||
self.options, self.dialog = self:SetupOptions()
|
||||
|
||||
-- populate UI from database
|
||||
self:RefreshOptions("OnProfileChanged")
|
||||
|
||||
self.ldb, self.icon = self:MinimapButton()
|
||||
|
||||
self:SetupSlashCommands()
|
||||
end
|
||||
|
||||
@@ -63,15 +63,16 @@ end
|
||||
function Grichelde:HandleSlashCommand(input)
|
||||
-- Show the GUI if no input is supplied, otherwise handle the chat input.
|
||||
if self.functions.nilOrEmpty(input) then
|
||||
LibStub("AceConfigDialog-3.0"):Open(self.name)
|
||||
self:OpenOptions()
|
||||
else
|
||||
-- handle slash ourselves
|
||||
self:DebugPrint("Handle slash command: " .. input)
|
||||
if input == "mappings" then
|
||||
self:ShowMappings()
|
||||
end
|
||||
if input == "options" then
|
||||
self:ToogleMappings()
|
||||
elseif input == "options" then
|
||||
self:PrintOptions()
|
||||
elseif input == "profile" then
|
||||
self:PrintProfile()
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user