Version 0.7.2-beta

- minimap button

- graphical move arrows

- crash on matches with 0-width
This commit is contained in:
2020-06-08 01:43:23 +02:00
parent 8e179692ee
commit 5b72ad3b78
18 changed files with 872 additions and 118 deletions

View File

@@ -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