Fix Omen's FuBar plugin issue for right clicks to open the configuration panel interfering with library upgrading paths.
This commit is contained in:
@@ -489,6 +489,7 @@ function Omen:PLAYER_LOGIN()
|
||||
self:SetFuBarOption("hasIcon", true)
|
||||
self:SetFuBarOption("defaultPosition", "RIGHT")
|
||||
self:SetFuBarOption("tooltipHiddenWhenEmpty", true)
|
||||
self:SetFuBarOption("configType", "None")
|
||||
LFBP:OnEmbedInitialize(self)
|
||||
function Omen:OnUpdateFuBarTooltip()
|
||||
GameTooltip:AddLine(self.defaultTitle)
|
||||
@@ -496,9 +497,8 @@ function Omen:PLAYER_LOGIN()
|
||||
GameTooltip:AddLine("|cffffff00" .. L["Right-click|r to open the options menu"])
|
||||
end
|
||||
function Omen:OnFuBarClick(button)
|
||||
self:Toggle()
|
||||
if button == "RightButton" then self:ShowConfig() else self:Toggle() end
|
||||
end
|
||||
self.OpenMenu = self.ShowConfig
|
||||
self.optionsFrames["FuBar"] = LibStub("AceConfigDialog-3.0"):AddToBlizOptions("Omen", L["FuBar Options"], "Omen", "FuBar")
|
||||
self:UpdateFuBarSettings()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user