mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
update
This commit is contained in:
+54
-13
@@ -892,24 +892,44 @@ function E:UpdateAll(ignoreInstall)
|
|||||||
Layout:TopPanelVisibility()
|
Layout:TopPanelVisibility()
|
||||||
Layout:SetDataPanelStyle()
|
Layout:SetDataPanelStyle()
|
||||||
|
|
||||||
ActionBars:UpdateButtonSettings()
|
if E.private.actionbar.enable then
|
||||||
ActionBars:UpdateMicroPositionDimensions()
|
ActionBars:UpdateButtonSettings()
|
||||||
|
ActionBars:UpdateMicroPositionDimensions()
|
||||||
|
end
|
||||||
|
|
||||||
AFK:Toggle()
|
AFK:Toggle()
|
||||||
Bags:Layout()
|
|
||||||
Bags:Layout(true)
|
if E.private.bags.enable then
|
||||||
Bags:SizeAndPositionBagBar()
|
Bags:Layout()
|
||||||
Bags:UpdateCountDisplay()
|
Bags:Layout(true)
|
||||||
Bags:UpdateItemLevelDisplay()
|
Bags:SizeAndPositionBagBar()
|
||||||
Chat:PositionChat(true)
|
Bags:UpdateCountDisplay()
|
||||||
Chat:SetupChat()
|
Bags:UpdateItemLevelDisplay()
|
||||||
Chat:UpdateAnchors()
|
end
|
||||||
|
|
||||||
|
if E.private.chat.enable then
|
||||||
|
Chat:PositionChat(true)
|
||||||
|
Chat:SetupChat()
|
||||||
|
Chat:UpdateAnchors()
|
||||||
|
end
|
||||||
|
|
||||||
DataBars:EnableDisable_ExperienceBar()
|
DataBars:EnableDisable_ExperienceBar()
|
||||||
DataBars:EnableDisable_ReputationBar()
|
DataBars:EnableDisable_ReputationBar()
|
||||||
DataBars:UpdateDataBarDimensions()
|
DataBars:UpdateDataBarDimensions()
|
||||||
|
|
||||||
DataTexts:LoadDataTexts()
|
DataTexts:LoadDataTexts()
|
||||||
Minimap:UpdateSettings()
|
|
||||||
NamePlates:ConfigureAll()
|
if E.private.general.minimap.enable then
|
||||||
UnitFrames:Update_AllFrames()
|
Minimap:UpdateSettings()
|
||||||
|
end
|
||||||
|
|
||||||
|
if E.private.nameplates.enable then
|
||||||
|
NamePlates:ConfigureAll()
|
||||||
|
end
|
||||||
|
|
||||||
|
if E.private.unitframe.enable then
|
||||||
|
UnitFrames:Update_AllFrames()
|
||||||
|
end
|
||||||
|
|
||||||
if E.RefreshGUI then
|
if E.RefreshGUI then
|
||||||
E:RefreshGUI()
|
E:RefreshGUI()
|
||||||
@@ -1040,6 +1060,27 @@ end
|
|||||||
|
|
||||||
--DATABASE CONVERSIONS
|
--DATABASE CONVERSIONS
|
||||||
function E:DBConversions()
|
function E:DBConversions()
|
||||||
|
--Make sure default filters use the correct filter type
|
||||||
|
for filter, filterType in pairs(E.DEFAULT_FILTER) do
|
||||||
|
E.global.unitframe.aurafilters[filter].type = filterType
|
||||||
|
end
|
||||||
|
|
||||||
|
--Combat & Resting Icon options update
|
||||||
|
if E.db.unitframe.units.player.combatIcon ~= nil then
|
||||||
|
E.db.unitframe.units.player.CombatIcon.enable = E.db.unitframe.units.player.combatIcon
|
||||||
|
E.db.unitframe.units.player.combatIcon = nil
|
||||||
|
end
|
||||||
|
if E.db.unitframe.units.player.restIcon ~= nil then
|
||||||
|
E.db.unitframe.units.player.RestIcon.enable = E.db.unitframe.units.player.restIcon
|
||||||
|
E.db.unitframe.units.player.restIcon = nil
|
||||||
|
end
|
||||||
|
|
||||||
|
if not E.db.chat.panelColorConverted then
|
||||||
|
local color = E.db.general.backdropfadecolor
|
||||||
|
E.db.chat.panelColor = {r = color.r, g = color.g, b = color.b, a = color.a}
|
||||||
|
E.db.chat.panelColorConverted = true
|
||||||
|
end
|
||||||
|
|
||||||
--Vendor Greys option is now in bags table
|
--Vendor Greys option is now in bags table
|
||||||
if E.db.general.vendorGrays then
|
if E.db.general.vendorGrays then
|
||||||
E.db.bags.vendorGrays.enable = E.db.general.vendorGrays
|
E.db.bags.vendorGrays.enable = E.db.general.vendorGrays
|
||||||
|
|||||||
@@ -51,6 +51,7 @@ function AB:HandleMicroButton(button)
|
|||||||
HookScript(button, "OnEnter", onEnter)
|
HookScript(button, "OnEnter", onEnter)
|
||||||
HookScript(button, "OnLeave", onLeave)
|
HookScript(button, "OnLeave", onLeave)
|
||||||
button:SetHitRectInsets(0, 0, 0, 0)
|
button:SetHitRectInsets(0, 0, 0, 0)
|
||||||
|
button:SetAlpha(self.db.microbar.alpha)
|
||||||
button:Show()
|
button:Show()
|
||||||
|
|
||||||
pushed:SetTexCoord(0.17, 0.87, 0.5, 0.908)
|
pushed:SetTexCoord(0.17, 0.87, 0.5, 0.908)
|
||||||
@@ -130,5 +131,5 @@ function AB:SetupMicroBar()
|
|||||||
|
|
||||||
E:Kill(MainMenuBarPerformanceBarFrame)
|
E:Kill(MainMenuBarPerformanceBarFrame)
|
||||||
|
|
||||||
E:CreateMover(ElvUI_MicroBar, 'MicrobarMover', L["Micro Bar"], nil, nil, nil, "ALL,ACTIONBARS", nil, "actionbar,microbar")
|
E:CreateMover(ElvUI_MicroBar, "MicrobarMover", L["Micro Bar"], nil, nil, nil, "ALL,ACTIONBARS", nil, "actionbar,microbar")
|
||||||
end
|
end
|
||||||
Reference in New Issue
Block a user