From b74079586163b1ff144a9b0bba95037b2f5c2581 Mon Sep 17 00:00:00 2001 From: Bunny67 Date: Fri, 5 Jun 2020 17:00:29 +0300 Subject: [PATCH] fix #4 --- WeakAuras/RegionTypes/Icon.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/WeakAuras/RegionTypes/Icon.lua b/WeakAuras/RegionTypes/Icon.lua index db5ab5f..c090d2f 100644 --- a/WeakAuras/RegionTypes/Icon.lua +++ b/WeakAuras/RegionTypes/Icon.lua @@ -330,8 +330,6 @@ local function modify(parent, region, data) region.zoom = data.zoom; region:UpdateSize() - icon:SetDesaturated(data.desaturate); - local tooltipType = WeakAuras.CanHaveTooltip(data); if(tooltipType and data.useTooltip) then if not region.tooltipFrame then @@ -393,6 +391,7 @@ local function modify(parent, region, data) or "Interface\\Icons\\INV_Misc_QuestionMark" ); icon:SetTexture(iconPath); + icon:SetDesaturated(data.desaturate); end function region:Scale(scalex, scaley)