Skip to content

Commit

Permalink
v1.7.34
Browse files Browse the repository at this point in the history
  • Loading branch information
d4kir92 committed Oct 5, 2024
1 parent 5dcd27d commit 812f4a2
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 23 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.33
## Version: 1.7.34
## 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.33
## Version: 1.7.34
## 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.33
## Version: 1.7.34
## 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.33
## Version: 1.7.34
## 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.33
## Version: 1.7.34
## 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
30 changes: 12 additions & 18 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.33")
MALock.TitleText:SetText(format("MoveAny |T135994:16:16:0:0|t v|cff3FC7EB%s", "1.7.33"))
MoveAny:SetVersion(AddonName, 135994, "1.7.34")
MALock.TitleText:SetText(format("MoveAny |T135994:16:16:0:0|t v|cff3FC7EB%s", "1.7.34"))
MALock.CloseButton:SetScript(
"OnClick",
function()
Expand Down Expand Up @@ -1085,7 +1085,13 @@ function MoveAny:ShowProfiles()
MAProfiles:SetMovable(true)
MAProfiles:EnableMouse(true)
MAProfiles:RegisterForDrag("LeftButton")
MAProfiles:SetScript("OnDragStart", MAProfiles.StartMoving)
MAProfiles:SetScript(
"OnDragStart",
function()
MAProfiles:StartMoving()
end
)

MAProfiles:SetScript(
"OnDragStop",
function()
Expand All @@ -1097,7 +1103,7 @@ function MoveAny:ShowProfiles()
end
)

MAProfiles.TitleText:SetText(format("MoveAny |T135994:16:16:0:0|t v|cff3FC7EB%s", "1.7.33"))
MAProfiles.TitleText:SetText(format("MoveAny |T135994:16:16:0:0|t v|cff3FC7EB%s", "1.7.34"))
MAProfiles.CloseButton:SetScript(
"OnClick",
function()
Expand All @@ -1108,18 +1114,6 @@ function MoveAny:ShowProfiles()
end
)

MAProfiles:SetScript("OnDragStart", MAProfiles.StartMoving)
MAProfiles:SetScript(
"OnDragStop",
function()
MALock:StopMovingOrSizing()
local p1, _, p3, p4, p5 = MAProfiles:GetPoint()
p4 = MoveAny:Snap(p4)
p5 = MoveAny:Snap(p5)
MoveAny:SetElePoint("MAProfiles", p1, _, p3, p4, p5)
end
)

MAProfiles:SetResizable(true)
MAProfiles:SetResizeBounds(sw, 200, sw + 200, 2000)
MAProfiles.DISCORD = CreateFrame("EditBox", "MAProfiles" .. ".DISCORD", MAProfiles, "InputBoxTemplate")
Expand Down Expand Up @@ -1206,7 +1200,7 @@ function MoveAny:ShowProfiles()
end

local sliderProfiles = CreateFrame("Slider", nil, MAAddProfile, "UISliderTemplate")
sliderProfiles:SetWidth(MAAddProfile:GetWidth() - 20)
sliderProfiles:SetSize(MAAddProfile:GetWidth() - 20, 16)
sliderProfiles:SetPoint("TOPLEFT", MAAddProfile, "TOPLEFT", 10, -26 - 30 - br)
if sliderProfiles.Low == nil then
sliderProfiles.Low = sliderProfiles:CreateFontString(nil, nil, "GameFontNormal")
Expand Down Expand Up @@ -4866,7 +4860,7 @@ function MoveAny:LoadAddon()
["name"] = "MoveAny",
["icon"] = 135994,
["dbtab"] = MATAB,
["vTT"] = {{"MoveAny |T135994:16:16:0:0|t", "v|cff3FC7EB1.7.33"}, {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.34"}, {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 812f4a2

Please sign in to comment.