From 201b1adfccf79e883c00fd4e4422913ad09d618c Mon Sep 17 00:00:00 2001 From: Bunny67 Date: Mon, 8 Mar 2021 23:24:06 +0300 Subject: [PATCH] small changes --- WeakAuras/RegionTypes/RegionPrototype.lua | 2 -- WeakAurasOptions/BuffTrigger.lua | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/WeakAuras/RegionTypes/RegionPrototype.lua b/WeakAuras/RegionTypes/RegionPrototype.lua index ad8df3a..1b21cb2 100644 --- a/WeakAuras/RegionTypes/RegionPrototype.lua +++ b/WeakAuras/RegionTypes/RegionPrototype.lua @@ -794,7 +794,6 @@ function WeakAuras.regionPrototype.AddExpandFunction(data, region, cloneId, pare region.subRegionEvents:Notify("PreShow") - region.justCreated = nil; Private.ApplyFrameLevel(region) region:Show(); Private.PerformActions(data, "start", region); @@ -842,7 +841,6 @@ function WeakAuras.regionPrototype.AddExpandFunction(data, region, cloneId, pare end region.toShow = true; - region.justCreated = nil; if(region.PreShow) then region:PreShow(); end diff --git a/WeakAurasOptions/BuffTrigger.lua b/WeakAurasOptions/BuffTrigger.lua index 7fc47fc..0148c16 100644 --- a/WeakAurasOptions/BuffTrigger.lua +++ b/WeakAurasOptions/BuffTrigger.lua @@ -883,7 +883,7 @@ local function GetBuffTriggerOptions(data, triggernum) }; - OptionsPrivate.commonOptions.AddCommonTriggerOptions(aura_options, data, triggernum) + OptionsPrivate.commonOptions.AddCommonTriggerOptions(aura_options, data, triggernum, true) OptionsPrivate.commonOptions.AddTriggerGetterSetter(aura_options, data, triggernum) OptionsPrivate.AddTriggerMetaFunctions(aura_options, data, triggernum)