add Mir pixel perfect edited profil

This commit is contained in:
Sumsebrum 2022-01-14 00:36:46 +01:00
parent 7ce6cdd5e0
commit cd64e8b481
4 changed files with 25 additions and 2 deletions

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -601,7 +601,7 @@ function Castbar:GetOptions()
desc = L["Height of the bar"], desc = L["Height of the bar"],
order = 3, order = 3,
min = 0, min = 0,
max = 100, max = 200,
step = 1, step = 1,
width = "full", width = "full",
}), }),
@ -611,7 +611,7 @@ function Castbar:GetOptions()
desc = L["Width of the bars"], desc = L["Width of the bars"],
order = 4, order = 4,
min = 0, min = 0,
max = 300, max = 600,
step = 1, step = 1,
width = "full", width = "full",
}), }),

View File

@ -152,5 +152,24 @@ function XiconProfiles:GetOptions()
width = "full", width = "full",
order = 15, order = 15,
}, },
headerProfileMirEdited = {
type = "header",
name = "Mir's " .. L["Profile"] .. " edited",
order = 16,
},
mirProfileEdited = {
type = "execute",
func = function()
Gladdy.dbi:ResetProfile(Gladdy.dbi:GetCurrentProfile())
applyProfile(Gladdy:GetMirEditedProfile())
end,
name = " ",
desc = "Mir's " .. L["Profile"],
image = "Interface\\AddOns\\Gladdy\\Images\\BasicProfiles\\Mir1_edited.blp",
imageWidth = 350,
imageHeight = 175,
width = "full",
order = 17,
},
} }
end end