Skip to content

Commit

Permalink
v0.9.132
Browse files Browse the repository at this point in the history
  • Loading branch information
d4kir92 committed Feb 3, 2025
1 parent feaaa62 commit 301cf50
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 19 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: 40401
## Interface: 110007, 110100

## Version: 0.9.131
## Version: 0.9.132
## 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: 40401
## Version: 0.9.131
## Version: 0.9.132
## 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.131
## Version: 0.9.132
## 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: 11506
## Version: 0.9.131
## Version: 0.9.132
## 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.131
## Version: 0.9.132
## 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 core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ function ImproveAny:Event(event, ...)
["icon"] = 136033,
["var"] = mmbtn,
["dbtab"] = IATAB,
["vTT"] = {{"ImproveAny |T136033:16:16:0:0|t", "v|cff3FC7EB0.9.131"}, {ImproveAny:GT("LEFTCLICK"), ImproveAny:GT("MMBTNLEFT")}, {ImproveAny:GT("RIGHTCLICK"), ImproveAny:GT("MMBTNRIGHT")}},
["vTT"] = {{"ImproveAny |T136033:16:16:0:0|t", "v|cff3FC7EB0.9.132"}, {ImproveAny:GT("LEFTCLICK"), ImproveAny:GT("MMBTNLEFT")}, {ImproveAny:GT("RIGHTCLICK"), ImproveAny:GT("MMBTNRIGHT")}},
["funcL"] = function()
ImproveAny:ToggleSettings()
end,
Expand Down
6 changes: 3 additions & 3 deletions libs/D4Lib/D4Frames.lua
Original file line number Diff line number Diff line change
Expand Up @@ -167,21 +167,18 @@ function D4:CreateSlider(tab)
if slider.Low == nil then
slider.Low = slider:CreateFontString(nil, nil, "GameFontNormal")
slider.Low:SetPoint("BOTTOMLEFT", slider, "BOTTOMLEFT", 0, -12)
D4:SetFontSize(slider.Low, 10, "THINOUTLINE")
slider.Low:SetTextColor(1, 1, 1)
end

if slider.High == nil then
slider.High = slider:CreateFontString(nil, nil, "GameFontNormal")
slider.High:SetPoint("BOTTOMRIGHT", slider, "BOTTOMRIGHT", 0, -12)
D4:SetFontSize(slider.High, 10, "THINOUTLINE")
slider.High:SetTextColor(1, 1, 1)
end

if slider.Text == nil then
slider.Text = slider:CreateFontString(nil, nil, "GameFontNormal")
slider.Text:SetPoint("TOP", slider, "TOP", 0, 16)
D4:SetFontSize(slider.Text, 10, "THINOUTLINE")
slider.Text:SetTextColor(1, 1, 1)
end

Expand All @@ -192,6 +189,9 @@ function D4:CreateSlider(tab)
slider.Text:SetText(string.format(struct, tab.value))
end

D4:SetFontSize(slider.Low, 10, "THINOUTLINE")
D4:SetFontSize(slider.High, 10, "THINOUTLINE")
D4:SetFontSize(slider.Text, 10, "THINOUTLINE")
slider:SetMinMaxValues(tab.vmin, tab.vmax)
slider:SetObeyStepOnDrag(true)
slider:SetValueStep(tab.steps)
Expand Down
7 changes: 0 additions & 7 deletions libs/D4Lib/D4Lib.lua
Original file line number Diff line number Diff line change
Expand Up @@ -417,10 +417,3 @@ function D4:GetRoleIcon(role)

return ""
end

--[[ Fix for Classic Era ]]
for i = 2, 5 do
if _G["FriendsFrameTab" .. i] == nil then
_G["FriendsFrameTab" .. i] = CreateFrame("Frame")
end
end
2 changes: 1 addition & 1 deletion libs/D4Lib/D4MinimapButtons.lua
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function D4:CreateMinimapButton(params)
btn.icon:SetPoint("CENTER")
if params.icon ~= nil then
btn.icon:SetTexture(params.icon)
btn.icon:SetMask("Interface\\AddOns\\ImproveAny\\media\\minimap_mask_round")
--btn.icon:SetMask("Interface\\AddOns\\ImproveAny\\media\\minimap_mask_round")
elseif params.atlas ~= nil then
local info = C_Texture.GetAtlasInfo(params.atlas)
btn.icon:SetTexture(info.file)
Expand Down
4 changes: 2 additions & 2 deletions settings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -441,8 +441,8 @@ function ImproveAny:InitIASettings()
IASettings:Hide()
end

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

0 comments on commit 301cf50

Please sign in to comment.