mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
update
This commit is contained in:
@@ -147,7 +147,7 @@ Lib.Filters.tip = {
|
|||||||
match = function(self, link, _, search)
|
match = function(self, link, _, search)
|
||||||
if find(link, "item:") then
|
if find(link, "item:") then
|
||||||
scanner:SetOwner(UIParent, "ANCHOR_NONE");
|
scanner:SetOwner(UIParent, "ANCHOR_NONE");
|
||||||
scanner:SetHyperlink(link)
|
scanner:SetHyperlink(match(link, "item[%-?%d:]+"))
|
||||||
|
|
||||||
for i = 1, scanner:NumLines() do
|
for i = 1, scanner:NumLines() do
|
||||||
if(Search:Find(search, _G[scanner:GetName() .. "TextLeft" .. i]:GetText())) then
|
if(Search:Find(search, _G[scanner:GetName() .. "TextLeft" .. i]:GetText())) then
|
||||||
@@ -187,7 +187,7 @@ Lib.Filters.tipPhrases = {
|
|||||||
end
|
end
|
||||||
|
|
||||||
scanner:SetOwner(UIParent, "ANCHOR_NONE");
|
scanner:SetOwner(UIParent, "ANCHOR_NONE");
|
||||||
scanner:SetHyperlink(link);
|
scanner:SetHyperlink(match(link, "item[%-?%d:]+"));
|
||||||
|
|
||||||
local matches = false
|
local matches = false
|
||||||
for i = 1, scanner:NumLines() do
|
for i = 1, scanner:NumLines() do
|
||||||
|
|||||||
@@ -265,6 +265,8 @@ end
|
|||||||
function AB:UpdateButtonSettings()
|
function AB:UpdateButtonSettings()
|
||||||
if E.private.actionbar.enable ~= true then return end
|
if E.private.actionbar.enable ~= true then return end
|
||||||
|
|
||||||
|
LOCK_ACTIONBAR = (self.db.lockActionBars == true and "1" or "0")
|
||||||
|
|
||||||
for button, _ in pairs(self["handledButtons"]) do
|
for button, _ in pairs(self["handledButtons"]) do
|
||||||
if button then
|
if button then
|
||||||
self:StyleButton(button, button.noBackdrop)
|
self:StyleButton(button, button.noBackdrop)
|
||||||
@@ -277,6 +279,7 @@ function AB:UpdateButtonSettings()
|
|||||||
self:PositionAndSizeBar("bar"..i)
|
self:PositionAndSizeBar("bar"..i)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
self:AdjustMaxStanceButtons()
|
||||||
self:PositionAndSizeBarPet()
|
self:PositionAndSizeBarPet()
|
||||||
self:PositionAndSizeBarShapeShift()
|
self:PositionAndSizeBarShapeShift()
|
||||||
end
|
end
|
||||||
@@ -529,8 +532,6 @@ function AB:Initialize()
|
|||||||
|
|
||||||
self:SecureHook("PetActionBar_Update", "UpdatePet")
|
self:SecureHook("PetActionBar_Update", "UpdatePet")
|
||||||
|
|
||||||
LOCK_ACTIONBAR = (self.db.lockActionBars == true and "1" or "0")
|
|
||||||
|
|
||||||
function _G.ActionButton_OnUpdate(elapsed)
|
function _G.ActionButton_OnUpdate(elapsed)
|
||||||
if not this.updateTooltip then return end
|
if not this.updateTooltip then return end
|
||||||
|
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ local CreateFrame = CreateFrame
|
|||||||
local SetDesaturation = SetDesaturation
|
local SetDesaturation = SetDesaturation
|
||||||
local hooksecurefunc = hooksecurefunc
|
local hooksecurefunc = hooksecurefunc
|
||||||
local IsAddOnLoaded = IsAddOnLoaded
|
local IsAddOnLoaded = IsAddOnLoaded
|
||||||
|
local GetCVar = GetCVar
|
||||||
|
|
||||||
E.Skins = S
|
E.Skins = S
|
||||||
S.addonsToLoad = {}
|
S.addonsToLoad = {}
|
||||||
|
|||||||
@@ -79,8 +79,6 @@ local function BuildABConfig()
|
|||||||
set = function(info, value)
|
set = function(info, value)
|
||||||
E.db.actionbar[ info[getn(info)] ] = value
|
E.db.actionbar[ info[getn(info)] ] = value
|
||||||
AB:UpdateButtonSettings()
|
AB:UpdateButtonSettings()
|
||||||
LOCK_ACTIONBAR = (value == true and 1 or 0)
|
|
||||||
E:StaticPopup_Show("CONFIG_RL")
|
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
movementModifier = {
|
movementModifier = {
|
||||||
|
|||||||
Reference in New Issue
Block a user