Skip to content

Commit 39d1c58

Browse files
committed
v0.9.111
1 parent ca0eb66 commit 39d1c58

12 files changed

+3199
-17
lines changed

ImproveAny.toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
## Interface-Cata: 40400
55
## Interface: 110002
66

7-
## Version: 0.9.110
7+
## Version: 0.9.111
88
## Title: ImproveAny by |cff3FC7EBD4KiR |T132115:16:16:0:0|t
99
## Notes: Improve Any Ui or Frame
1010
## Author: D4KiR

ImproveAny_Cata.toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## Interface: 40400
2-
## Version: 0.9.110
2+
## Version: 0.9.111
33
## Title: ImproveAny |T136033:16:16:0:0|t by |cff3FC7EBD4KiR |T132115:16:16:0:0|t
44
## Notes: Improve Any Ui or Frame
55
## Author: D4KiR

ImproveAny_TBC.toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## Interface: 20504
2-
## Version: 0.9.110
2+
## Version: 0.9.111
33
## Title: ImproveAny |T136033:16:16:0:0|t by |cff3FC7EBD4KiR |T132115:16:16:0:0|t
44
## Notes: Improve Any Ui or Frame
55
## Author: D4KiR

ImproveAny_Vanilla.toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## Interface: 11504
2-
## Version: 0.9.110
2+
## Version: 0.9.111
33
## Title: ImproveAny |T136033:16:16:0:0|t by |cff3FC7EBD4KiR |T132115:16:16:0:0|t
44
## Notes: Improve Any Ui or Frame
55
## Author: D4KiR

ImproveAny_Wrath.toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## Interface: 30403
2-
## Version: 0.9.110
2+
## Version: 0.9.111
33
## Title: ImproveAny |T136033:16:16:0:0|t by |cff3FC7EBD4KiR |T132115:16:16:0:0|t
44
## Notes: Improve Any Ui or Frame
55
## Author: D4KiR

core.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ function ImproveAny:Event(event, ...)
268268
["icon"] = 136033,
269269
["var"] = mmbtn,
270270
["dbtab"] = IATAB,
271-
["vTT"] = {{"ImproveAny |T136033:16:16:0:0|t", "v|cff3FC7EB0.9.110"}, {ImproveAny:GT("LEFTCLICK"), ImproveAny:GT("MMBTNLEFT")}, {ImproveAny:GT("RIGHTCLICK"), ImproveAny:GT("MMBTNRIGHT")}},
271+
["vTT"] = {{"ImproveAny |T136033:16:16:0:0|t", "v|cff3FC7EB0.9.111"}, {ImproveAny:GT("LEFTCLICK"), ImproveAny:GT("MMBTNLEFT")}, {ImproveAny:GT("RIGHTCLICK"), ImproveAny:GT("MMBTNRIGHT")}},
272272
["funcL"] = function()
273273
ImproveAny:ToggleSettings()
274274
end,

ele/worldmapframe.lua

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function ImproveAny:InitWorldMapFrame()
6868
WorldMapFrame.ScrollContainer.Child.TiledBackground:Hide()
6969
end
7070

71-
if WorldMapFrame.ScrollContainer and ImproveAny:IsEnabled("WORLDMAPZOOM", false) then
71+
if ImproveAny:GetWoWBuild() ~= "RETAIL" and WorldMapFrame.ScrollContainer and ImproveAny:IsEnabled("WORLDMAPZOOM", false) then
7272
WorldMapFrame.ScrollContainer:HookScript(
7373
"OnMouseWheel",
7474
function(sel, delta)
@@ -98,9 +98,6 @@ function ImproveAny:InitWorldMapFrame()
9898
plyCoords.f:SetText("")
9999
plyCoords.f:SetFont(STANDARD_TEXT_FONT, fontsize, "THINOUTLINE")
100100
plyCoords.f:SetPoint("CENTER")
101-
--[[plyCoords.t = plyCoords:CreateTexture("plyCoords.t", "ARTWORK")
102-
plyCoords.t:SetAllPoints(plyCoords)
103-
plyCoords.t:SetColorTexture(0.03, 0.03, 0.03, 0.5)]]
104101
function plyCoords:IAUpdate()
105102
if WorldMapFrame.ScrollContainer.GetNormalizedCursorPosition then
106103
if WorldMapFrame:IsShown() then

libs/D4Lib/D4Frames.lua

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ function D4:AppendSlider(key, value, min, max, steps, decimals, func, lstr)
369369
Y = Y - 30
370370
end
371371

372-
function D4:CreateDropdown(key, value, choices, parent)
372+
function D4:CreateDropdown(key, value, choices, parent, func)
373373
if TAB[key] == nil then
374374
TAB[key] = value
375375
end
@@ -392,6 +392,9 @@ function D4:CreateDropdown(key, value, choices, parent)
392392
function()
393393
TAB[key] = data
394394
Dropdown:SetDefaultText(D4:Trans(name))
395+
if func then
396+
func(data)
397+
end
395398
end
396399
)
397400
end
@@ -420,12 +423,15 @@ function D4:CreateDropdown(key, value, choices, parent)
420423
TAB[key] = newValue
421424
UIDropDownMenu_SetText(dropDown, newValue)
422425
CloseDropDownMenus()
426+
if func then
427+
func(newValue)
428+
end
423429
end
424430
end
425431
end
426432

427-
function D4:AppendDropdown(key, value, choices)
433+
function D4:AppendDropdown(key, value, choices, func)
428434
Y = Y - 10
429-
D4:CreateDropdown(key, value, choices, PARENT)
435+
D4:CreateDropdown(key, value, choices, PARENT, func)
430436
Y = Y - 30
431437
end

libs/D4Lib/D4Lib.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ function D4:GetName(frameOrTexture)
157157
return nil
158158
end
159159

160-
local function FixIconChat(self, event, message, author, ...)
160+
local function FixIconChat(sel, event, message, author, ...)
161161
if ICON_LIST then
162162
for tag in string.gmatch(message, "%b{}") do
163163
local term = strlower(string.gsub(tag, "[{}]", ""))

libs/D4Lib/D4Lib.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
<Script file="D4MinimapButtons.lua"/>
1414
<Script file="D4SlashCmds.lua"/>
1515
<Script file="D4Translations.lua"/>
16+
1617
<Script file="D4Versions.lua"/>
1718

19+
<Script file="D4Realms.lua"/>
20+
1821
</Ui>

0 commit comments

Comments
 (0)