From 9b02c4979b1ddd5a2112bec331baf98b3a369197 Mon Sep 17 00:00:00 2001 From: Buds Date: Thu, 12 Oct 2023 15:28:31 +0200 Subject: [PATCH] Dynamic Group: fix group scaling when parent is not group itself fixes #4637 --- WeakAuras/RegionTypes/DynamicGroup.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/WeakAuras/RegionTypes/DynamicGroup.lua b/WeakAuras/RegionTypes/DynamicGroup.lua index 7fdbf0faf1..11f7489f76 100644 --- a/WeakAuras/RegionTypes/DynamicGroup.lua +++ b/WeakAuras/RegionTypes/DynamicGroup.lua @@ -1391,9 +1391,11 @@ local function modify(parent, region, data) end if parent and parent.IsObjectType and parent:IsObjectType("Frame") then controlPoint:SetParent(parent) + controlPoint:SetScale(data.scale and data.scale > 0 and data.scale <= 10 and data.scale or 1) end else controlPoint:SetParent(self) + controlPoint:SetScale(1) end if self.anchorPerUnit == "UNITFRAME" then Private.dyngroup_unitframe_monitor[regionData] = frame