From: Aleksi Blinnikka Date: Sat, 23 May 2020 19:17:32 +0000 (+0300) Subject: Make player and target frame always full opacity X-Git-Url: https://www.aleksib.fi/git/wowui.git/commitdiff_plain/6a081073e230a9f21aeb1a69c9bbea0e124b7b55 Make player and target frame always full opacity --- diff --git a/kehys/player.lua b/kehys/player.lua index ca0bd8b..338e43d 100644 --- 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.vehicle = "vehicle" + f.vehicle = "vehicle"; + f.constant = true; f.prev = {}; playerUpdate = function() diff --git a/kehys/target.lua b/kehys/target.lua index 13434f0..ac30994 100644 --- 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.constant = true; f.prev = {}; targetUpdate = function()