Commit 839e6081 authored by Merathilis's avatar Merathilis

Default position update for MinimapButton

parent 9f9c053c
...@@ -108,6 +108,7 @@ local function CollectButtons() ...@@ -108,6 +108,7 @@ local function CollectButtons()
child.highlight:SetAllPoints() child.highlight:SetAllPoints()
child.highlight:SetColorTexture(1, 1, 1, .25) child.highlight:SetColorTexture(1, 1, 1, .25)
end end
child:CreateBackdrop("Transparent") child:CreateBackdrop("Transparent")
child.backdrop:Styling() child.backdrop:Styling()
...@@ -149,9 +150,9 @@ function module:Initialize() ...@@ -149,9 +150,9 @@ function module:Initialize()
if COMP.SLE and E.private.sle.minimap.mapicons.enable then return end if COMP.SLE and E.private.sle.minimap.mapicons.enable then return end
local pos = db.position or "BOTTOMLEFT" local pos = db.position or "TOPRIGHT"
local x = db.xOffset or -13 local x = db.xOffset or 10
local y = db.yOffset or -13 local y = db.yOffset or 20
-- Button Creation -- Button Creation
module.button = CreateFrame("Button", "MinimapButtonsToggleButton", Minimap) module.button = CreateFrame("Button", "MinimapButtonsToggleButton", Minimap)
......
...@@ -370,9 +370,9 @@ MP.media = { ...@@ -370,9 +370,9 @@ MP.media = {
MP.smb = { MP.smb = {
enable = true, enable = true,
position = "BOTTOMLEFT", position = "TOPRIGHT",
xOffset = -10, xOffset = 10,
yOffset = -10, yOffset = 20,
size = 34, size = 34,
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment