- Fixed Event Tracker tool broken on 8.1 patch.

- Fixed background color for the event tracker not changing correctly from the value selected on the options menu.
This commit is contained in:
Tercioo
2018-12-31 11:06:00 -02:00
parent 9dc02805b0
commit b198c62489
3 changed files with 10 additions and 9 deletions
+5 -7
View File
File diff suppressed because one or more lines are too long
+4 -1
View File
@@ -6062,6 +6062,8 @@ local CreateEventTrackerFrame = function (parent, name)
end
f:SetBackdropColor (unpack (_detalhes.event_tracker.frame.backdrop_color))
scrollframe.__background:SetVertexColor (unpack (_detalhes.event_tracker.frame.backdrop_color))
f:SetFrameStrata (_detalhes.event_tracker.frame.strata)
_detalhes:UpdateWorldTrackerLines()
@@ -6100,8 +6102,9 @@ local CreateEventTrackerFrame = function (parent, name)
local is_enemy = function (flag)
return bit.band (flag, OBJECT_TYPE_ENEMY) ~= 0
end
combatLog:SetScript ("OnEvent", function (self, event, time, token, hidding, caster_serial, caster_name, caster_flags, caster_flags2, target_serial, target_name, target_flags, target_flags2, spellid, spellname, spelltype, extraSpellID, extraSpellName, extraSchool)
combatLog:SetScript ("OnEvent", function (self, event)
local time, token, hidding, caster_serial, caster_name, caster_flags, caster_flags2, target_serial, target_name, target_flags, target_flags2, spellid, spellname, spelltype, extraSpellID, extraSpellName, extraSchool = CombatLogGetCurrentEventInfo()
local added = false
--> defensive cooldown
+1 -1
View File
@@ -1059,7 +1059,7 @@ local default_profile = {
locked = false,
width = 250,
height = 300,
backdrop_color = {0, 0, 0, 0.2},
backdrop_color = {.16, .16, .16, .47},
show_title = true,
strata = "LOW",
},