Skip to content

Commit

Permalink
v0.9.84
Browse files Browse the repository at this point in the history
  • Loading branch information
d4kir92 committed Jul 19, 2024
1 parent 7908deb commit 67e97aa
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion ImproveAny.toc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Interface-Cata: 40400
## Interface: 100207, 110000

## Version: 0.9.83
## Version: 0.9.84
## Title: ImproveAny by |cff3FC7EBD4KiR |T132115:16:16:0:0|t
## Notes: Improve Any Ui or Frame
## Author: D4KiR
Expand Down
2 changes: 1 addition & 1 deletion ImproveAny_Cata.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 40400
## Version: 0.9.83
## Version: 0.9.84
## Title: ImproveAny |T136033:16:16:0:0|t by |cff3FC7EBD4KiR |T132115:16:16:0:0|t
## Notes: Improve Any Ui or Frame
## Author: D4KiR
Expand Down
2 changes: 1 addition & 1 deletion ImproveAny_TBC.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 20504
## Version: 0.9.83
## Version: 0.9.84
## Title: ImproveAny |T136033:16:16:0:0|t by |cff3FC7EBD4KiR |T132115:16:16:0:0|t
## Notes: Improve Any Ui or Frame
## Author: D4KiR
Expand Down
2 changes: 1 addition & 1 deletion ImproveAny_Vanilla.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 11503
## Version: 0.9.83
## Version: 0.9.84
## Title: ImproveAny |T136033:16:16:0:0|t by |cff3FC7EBD4KiR |T132115:16:16:0:0|t
## Notes: Improve Any Ui or Frame
## Author: D4KiR
Expand Down
2 changes: 1 addition & 1 deletion ImproveAny_Wrath.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 30403
## Version: 0.9.83
## Version: 0.9.84
## Title: ImproveAny |T136033:16:16:0:0|t by |cff3FC7EBD4KiR |T132115:16:16:0:0|t
## Notes: Improve Any Ui or Frame
## Author: D4KiR
Expand Down
10 changes: 7 additions & 3 deletions libs/D4Lib/D4Frames.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
local _, D4 = ...
local Y = 0
local PARENT = nil
local TAB = nil
--[[ INPUTS ]]
function D4:AddCategory(tab)
tab.sw = tab.sw or 25
Expand Down Expand Up @@ -124,6 +127,10 @@ function D4:CreateSlider(tab)
"OnValueChanged",
function(sel, val)
val = string.format("%." .. tab.decimals .. "f", val)
if TAB then
TAB[tab.key] = val
end

if tab.funcV then
tab:funcV(val)
end
Expand Down Expand Up @@ -188,9 +195,6 @@ function D4:CreateFrame(tab)
return fra
end

local Y = 0
local PARENT = nil
local TAB = nil
function D4:SetAppendY(newY)
Y = newY
end
Expand Down
4 changes: 2 additions & 2 deletions settings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,8 @@ function ImproveAny:InitIASettings()
IASettings:Hide()
end

ImproveAny:SetVersion(AddonName, 136033, "0.9.83")
IASettings.TitleText:SetText(format("ImproveAny |T136033:16:16:0:0|t v|cff3FC7EB%s", "0.9.83"))
ImproveAny:SetVersion(AddonName, 136033, "0.9.84")
IASettings.TitleText:SetText(format("ImproveAny |T136033:16:16:0:0|t v|cff3FC7EB%s", "0.9.84"))
IASettings.CloseButton:SetScript(
"OnClick",
function()
Expand Down

0 comments on commit 67e97aa

Please sign in to comment.