Skip to content

Commit

Permalink
v1.7.38
Browse files Browse the repository at this point in the history
  • Loading branch information
d4kir92 committed Oct 8, 2024
1 parent df4ff24 commit b203081
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 29 deletions.
2 changes: 1 addition & 1 deletion MoveAny.toc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Interface-Cata: 40400
## Interface: 110002

## Version: 1.7.37
## Version: 1.7.38
## Title: MoveAny by |cff3FC7EBD4KiR |T132115:16:16:0:0|t
## Notes: Move Any Ui or Frame
## Author: D4KiR
Expand Down
2 changes: 1 addition & 1 deletion MoveAny_Cata.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 40400
## Version: 1.7.37
## Version: 1.7.38
## Title: MoveAny |T135994:16:16:0:0|t by |cff3FC7EBD4KiR |T132115:16:16:0:0|t
## Notes: Move Any Ui or Frame
## Author: D4KiR
Expand Down
2 changes: 1 addition & 1 deletion MoveAny_TBC.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 20504
## Version: 1.7.37
## Version: 1.7.38
## Title: MoveAny |T135994:16:16:0:0|t by |cff3FC7EBD4KiR |T132115:16:16:0:0|t
## Notes: Move Any Ui or Frame
## Author: D4KiR
Expand Down
2 changes: 1 addition & 1 deletion MoveAny_Vanilla.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 11504
## Version: 1.7.37
## Version: 1.7.38
## Title: MoveAny |T135994:16:16:0:0|t by |cff3FC7EBD4KiR |T132115:16:16:0:0|t
## Notes: Move Any Ui or Frame
## Author: D4KiR
Expand Down
2 changes: 1 addition & 1 deletion MoveAny_Wrath.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 30403
## Version: 1.7.37
## Version: 1.7.38
## Title: MoveAny |T135994:16:16:0:0|t by |cff3FC7EBD4KiR |T132115:16:16:0:0|t
## Notes: Move Any Ui or Frame
## Author: D4KiR
Expand Down
34 changes: 10 additions & 24 deletions settings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -486,8 +486,8 @@ function MoveAny:InitMALock()
end
)

MoveAny:SetVersion(AddonName, 135994, "1.7.37")
MALock.TitleText:SetText(format("MoveAny |T135994:16:16:0:0|t v|cff3FC7EB%s", "1.7.37"))
MoveAny:SetVersion(AddonName, 135994, "1.7.38")
MALock.TitleText:SetText(format("MoveAny |T135994:16:16:0:0|t v|cff3FC7EB%s", "1.7.38"))
MALock.CloseButton:SetScript(
"OnClick",
function()
Expand Down Expand Up @@ -1103,7 +1103,7 @@ function MoveAny:ShowProfiles()
end
)

MAProfiles.TitleText:SetText(format("MoveAny |T135994:16:16:0:0|t v|cff3FC7EB%s", "1.7.37"))
MAProfiles.TitleText:SetText(format("MoveAny |T135994:16:16:0:0|t v|cff3FC7EB%s", "1.7.38"))
MAProfiles.CloseButton:SetScript(
"OnClick",
function()
Expand Down Expand Up @@ -2098,8 +2098,6 @@ function MoveAny:LoadAddon()
end

if RuneFrame and MoveAny:IsEnabled("RUNEFRAME", false) and class == "DEATHKNIGHT" then
RuneFrame.unit = "player"
RuneFrame:SetParent(MoveAny:GetMainPanel())
MoveAny:RegisterWidget(
{
["name"] = "RuneFrame",
Expand All @@ -2111,8 +2109,6 @@ function MoveAny:LoadAddon()
end

if WarlockPowerFrame and MoveAny:IsEnabled("WARLOCKPOWERFRAME", false) and class == "WARLOCK" then
WarlockPowerFrame.unit = "player"
WarlockPowerFrame:SetParent(MoveAny:GetMainPanel())
MoveAny:RegisterWidget(
{
["name"] = "WarlockPowerFrame",
Expand All @@ -2135,21 +2131,19 @@ function MoveAny:LoadAddon()
end

if MonkHarmonyBarFrame and MoveAny:IsEnabled("MONKHARMONYBARFRAME", false) and class == "MONK" then
MonkHarmonyBarFrame.unit = "player"
MonkHarmonyBarFrame:SetParent(MoveAny:GetMainPanel())
MoveAny:RegisterWidget(
{
["name"] = "MonkHarmonyBarFrame",
["lstr"] = "LID_MONKHARMONYBARFRAME",
["userplaced"] = true,
["secure"] = true,
["sw"] = 118,
["sh"] = 28,
}
)
end

if MonkStaggerBar and MoveAny:IsEnabled("MONKSTAGGERBAR", false) and class == "MONK" then
MonkStaggerBar.unit = "player"
MonkStaggerBar:SetParent(MoveAny:GetMainPanel())
MoveAny:RegisterWidget(
{
["name"] = "MonkStaggerBar",
Expand All @@ -2161,8 +2155,6 @@ function MoveAny:LoadAddon()
end

if MageArcaneChargesFrame and MoveAny:IsEnabled("MAGEARCANECHARGESFRAME", false) and class == "MAGE" then
MageArcaneChargesFrame.unit = "player"
MageArcaneChargesFrame:SetParent(MoveAny:GetMainPanel())
MoveAny:RegisterWidget(
{
["name"] = "MageArcaneChargesFrame",
Expand All @@ -2175,25 +2167,25 @@ function MoveAny:LoadAddon()

if (RogueComboPointBarFrame or DruidComboPointBarFrame) and MoveAny:IsEnabled("COMBOPOINTPLAYERFRAME", false) then
if class == "ROGUE" then
RogueComboPointBarFrame.unit = "player"
RogueComboPointBarFrame:SetParent(MoveAny:GetMainPanel())
MoveAny:RegisterWidget(
{
["name"] = "RogueComboPointBarFrame",
["lstr"] = "LID_COMBOPOINTPLAYERFRAME",
["userplaced"] = true,
["secure"] = true,
["sw"] = 120,
["sh"] = 30,
}
)
elseif class == "DRUID" then
DruidComboPointBarFrame.unit = "player"
DruidComboPointBarFrame:SetParent(MoveAny:GetMainPanel())
MoveAny:RegisterWidget(
{
["name"] = "DruidComboPointBarFrame",
["lstr"] = "LID_COMBOPOINTPLAYERFRAME",
["userplaced"] = true,
["secure"] = true,
["sw"] = 116,
["sh"] = 28,
}
)
end
Expand Down Expand Up @@ -2239,8 +2231,6 @@ function MoveAny:LoadAddon()
EssencePlayerFrame,
"Setup",
function()
EssencePlayerFrame.unit = "player"
EssencePlayerFrame:SetParent(MoveAny:GetMainPanel())
MoveAny:RegisterWidget(
{
["name"] = "EssencePlayerFrame",
Expand All @@ -2258,8 +2248,6 @@ function MoveAny:LoadAddon()
4,
function()
if not wasrun then
EssencePlayerFrame.unit = "player"
EssencePlayerFrame:SetParent(MoveAny:GetMainPanel())
MoveAny:RegisterWidget(
{
["name"] = "EssencePlayerFrame",
Expand All @@ -2274,8 +2262,6 @@ function MoveAny:LoadAddon()
end

if MoveAny:IsValidFrame(PaladinPowerBarFrame) and MoveAny:IsEnabled("PALADINPOWERBARFRAME", false) and class == "PALADIN" then
PaladinPowerBarFrame.unit = "player"
PaladinPowerBarFrame:SetParent(MoveAny:GetMainPanel())
MoveAny:RegisterWidget(
{
["name"] = "PaladinPowerBarFrame",
Expand Down Expand Up @@ -4860,7 +4846,7 @@ function MoveAny:LoadAddon()
["name"] = "MoveAny",
["icon"] = 135994,
["dbtab"] = MATAB,
["vTT"] = {{"MoveAny |T135994:16:16:0:0|t", "v|cff3FC7EB1.7.37"}, {MoveAny:GT("LID_LEFTCLICK"), MoveAny:GT("LID_MMBTNLEFT")}, {MoveAny:GT("LID_RIGHTCLICK"), MoveAny:GT("LID_MMBTNRIGHT")}},
["vTT"] = {{"MoveAny |T135994:16:16:0:0|t", "v|cff3FC7EB1.7.38"}, {MoveAny:GT("LID_LEFTCLICK"), MoveAny:GT("LID_MMBTNLEFT")}, {MoveAny:GT("LID_RIGHTCLICK"), MoveAny:GT("LID_MMBTNRIGHT")}},
["funcL"] = function()
MoveAny:ToggleMALock()
end,
Expand Down

0 comments on commit b203081

Please sign in to comment.