diff --git a/CHANGELOG2.md b/CHANGELOG2.md index 446c6e2..41a0488 100644 --- a/CHANGELOG2.md +++ b/CHANGELOG2.md @@ -7,3 +7,4 @@ This document contains a temporary changelog to keep track of changes made in ve ### Removed * Remove the ability tooltips module, as Midnight has severely handicapped the feature +* Remove the self-cast button conflict warning diff --git a/Clicked/Core/Clicked.lua b/Clicked/Core/Clicked.lua index a225ba2..1289adb 100644 --- a/Clicked/Core/Clicked.lua +++ b/Clicked/Core/Clicked.lua @@ -81,14 +81,6 @@ local function HandleChatCommand(input) Addon:StatusOutput_Open() elseif (args[1] == "viz" or args[1] == "visualizer") then Addon.KeyVisualizer:Open() - elseif args[1] == "ignore-self-cast-warning" then - Addon.db.profile.options.ignoreSelfCastWarning = not Addon.db.profile.options.ignoreSelfCastWarning - - if Addon.db.profile.options.ignoreSelfCastWarning then - Clicked2:LogInfo(Addon.L["Disabled self-cast warning, type this command again to re-enable it."]) - else - Clicked2:LogInfo(Addon.L["Enabled self-cast warning, type this command again to disable it."]) - end end end end @@ -377,20 +369,10 @@ end function Clicked2:OnEnable() --@debug@ local projectUrl = "https://www.curseforge.com/wow/addons/clicked" - Clicked2:LogWarning("You are using a development version, download the latest release from {url}", projectUrl) + self:LogWarning("You are using a development version, download the latest release from {url}", projectUrl) --@end-debug@ UpdateEventHooks(self, self.RegisterEvent) - - -- self-cast warning - if not Addon.db.profile.options.ignoreSelfCastWarning and Addon.EXPANSION >= Addon.Expansion.DF then - local selfCastModifier = GetModifiedClick("SELFCAST") - - if selfCastModifier ~= "NONE" then - local message = Addon.L["The behavior of the self-cast modifier has changed in Dragonflight, bindings using the '{key}' key modifier may not work correctly. It is recommended to disable it by setting it to 'NONE' in the options menu. You can disable this warning by typing: {command}"] - Clicked2:LogWarning(message, selfCastModifier, "/clicked ignore-self-cast-warning") - end - end end function Clicked2:OnDisable() diff --git a/Clicked/Locales/enUS.lua b/Clicked/Locales/enUS.lua index 63c4c4c..72ee92b 100644 --- a/Clicked/Locales/enUS.lua +++ b/Clicked/Locales/enUS.lua @@ -252,9 +252,6 @@ L["Change scope"] = true L["Profile"] = true L["Imported Clicked profile from %s"] = true L["Global"] = true -L["The behavior of the self-cast modifier has changed in Dragonflight, bindings using the '{key}' key modifier may not work correctly. It is recommended to disable it by setting it to 'NONE' in the options menu. You can disable this warning by typing: {command}"] = true -L["Disabled self-cast warning, type this command again to re-enable it."] = true -L["Enabled self-cast warning, type this command again to disable it."] = true L["X"] = true L["Not"] = true L["Select talents"] = true