git
/
wowui.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7e1fc64
)
6a08107 - Make player and target frame always full opacity
author
Aleksi Blinnikka <aleksi.blinnikka@iki.fi>
Sat, 23 May 2020 19:17:32 +0000
committer
Aleksi Blinnikka <aleksi.blinnikka@iki.fi>
Sat, 23 May 2020 19:17:36 +0000
kehys/player.lua
patch
|
blob
|
history
kehys/target.lua
patch
|
blob
|
history
diff --git
a/kehys/player.lua
b/kehys/player.lua
index
ca0bd8b
..
338e43d
100644
(file)
--- a/
kehys/player.lua
+++ b/
kehys/player.lua
@@
-36,7
+36,8
@@
local function initPlayer(parent, width, height, update, event)
f:SetAttribute("vehicle", "vehicle");
f.unit = "player";
f.displayed = "player";
f:SetAttribute("vehicle", "vehicle");
f.unit = "player";
f.displayed = "player";
- f.vehicle = "vehicle"
+ f.vehicle = "vehicle";
+ f.constant = true;
f.prev = {};
playerUpdate = function()
f.prev = {};
playerUpdate = function()
diff --git
a/kehys/target.lua
b/kehys/target.lua
index
13434f0
..
ac30994
100644
(file)
--- a/
kehys/target.lua
+++ b/
kehys/target.lua
@@
-37,6
+37,7
@@
local function initTarget(parent, width, height, update, event)
f:SetAttribute("displayed", "target");
f.unit = "target";
f.displayed = "target";
f:SetAttribute("displayed", "target");
f.unit = "target";
f.displayed = "target";
+ f.constant = true;
f.prev = {};
targetUpdate = function()
f.prev = {};
targetUpdate = function()