mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 16:34:45 +00:00
update WorldMap
This commit is contained in:
@@ -88,12 +88,11 @@ function M:Initialize()
|
|||||||
if E.global.general.smallerWorldMap then
|
if E.global.general.smallerWorldMap then
|
||||||
BlackoutWorld:SetTexture(nil)
|
BlackoutWorld:SetTexture(nil)
|
||||||
|
|
||||||
WorldMapFrame:SetParent(UIParent)
|
WorldMapFrame:SetParent(E.UIParent)
|
||||||
|
WorldMapFrame:SetScale(1)
|
||||||
WorldMapFrame:EnableKeyboard(false)
|
WorldMapFrame:EnableKeyboard(false)
|
||||||
HookScript(WorldMapFrame, "OnShow", function()
|
|
||||||
WorldMapFrame:SetScale(E.UIParent:GetScale())
|
|
||||||
end)
|
|
||||||
WorldMapFrame:EnableMouse(false)
|
WorldMapFrame:EnableMouse(false)
|
||||||
|
WorldMapFrame:SetToplevel()
|
||||||
|
|
||||||
UIPanelWindows["WorldMapFrame"] = {area = "center", pushable = 0, whileDead = 1}
|
UIPanelWindows["WorldMapFrame"] = {area = "center", pushable = 0, whileDead = 1}
|
||||||
|
|
||||||
@@ -102,6 +101,8 @@ function M:Initialize()
|
|||||||
DropDownList1:SetScale(UIParent:GetScale())
|
DropDownList1:SetScale(UIParent:GetScale())
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
WorldMapTooltip:SetFrameLevel(WorldMapPositioningGuide:GetFrameLevel() + 110)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
<Script file="Misc.lua"/>
|
<Script file="Misc.lua"/>
|
||||||
<Script file="Petition.lua"/>
|
<Script file="Petition.lua"/>
|
||||||
<Script file="Quest.lua"/>
|
<Script file="Quest.lua"/>
|
||||||
<Script file="QuestTimer.lua"/>
|
<Script file="QuestTimers.lua"/>
|
||||||
<Script file="Raid.lua"/>
|
<Script file="Raid.lua"/>
|
||||||
<Script file="SpellBook.lua"/>
|
<Script file="SpellBook.lua"/>
|
||||||
<Script file="Stable.lua"/>
|
<Script file="Stable.lua"/>
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ G["general"] = {
|
|||||||
["autoScale"] = true,
|
["autoScale"] = true,
|
||||||
["minUiScale"] = 0.64,
|
["minUiScale"] = 0.64,
|
||||||
["eyefinity"] = false,
|
["eyefinity"] = false,
|
||||||
|
["smallerWorldMap"] = true,
|
||||||
["WorldMapCoordinates"] = {
|
["WorldMapCoordinates"] = {
|
||||||
["enable"] = true,
|
["enable"] = true,
|
||||||
["position"] = "BOTTOMLEFT",
|
["position"] = "BOTTOMLEFT",
|
||||||
|
|||||||
Reference in New Issue
Block a user