git
/
wowui.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
40bff9b
)
c7542a4 - Phasing function changed in 9.0
author
Aleksi Blinnikka <aleksi.blinnikka@iki.fi>
Tue, 25 Aug 2020 20:53:47 +0000
committer
Aleksi Blinnikka <aleksi.blinnikka@iki.fi>
Tue, 13 Oct 2020 12:12:34 +0000
kehys/updater.lua
patch
|
blob
|
history
diff --git
a/kehys/updater.lua
b/kehys/updater.lua
index
347096c
..
72c51ed
100644
(file)
--- a/
kehys/updater.lua
+++ b/
kehys/updater.lua
@@
-48,8
+48,8
@@
function addon.FrameUpdate(frame)
-- range check (doesn't have an event) frames can be marked constantly visible
if not frame.constant then
local inrange, checked = UnitInRange(unit);
-- range check (doesn't have an event) frames can be marked constantly visible
if not frame.constant then
local inrange, checked = UnitInRange(unit);
- local inphase = Unit
InPhase
(unit);
- if (checked and not inrange) or
not
inphase then
+ local inphase = Unit
PhaseReason
(unit);
+ if (checked and not inrange) or inphase then
frame:SetAlpha(0.55);
else
frame:SetAlpha(1);
frame:SetAlpha(0.55);
else
frame:SetAlpha(1);