Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/WeakAuras/RegionTypes/DynamicGroup.lua b/WeakAuras/RegionTypes/DynamicGroup.lua
- index dae65e8..9c7555b 100644
- --- a/WeakAuras/RegionTypes/DynamicGroup.lua
- +++ b/WeakAuras/RegionTypes/DynamicGroup.lua
- @@ -50,7 +50,7 @@ end
- local function modify(parent, region, data)
- -- Scale
- - region:SetScale(data.scale or 1)
- + region:SetScale(data.scale and data.scale > 0 and data.scale or 1)
- local selfPoint;
- if(data.grow == "RIGHT") then
- diff --git a/WeakAuras/RegionTypes/Group.lua b/WeakAuras/RegionTypes/Group.lua
- index 28d613f..067acb7 100644
- --- a/WeakAuras/RegionTypes/Group.lua
- +++ b/WeakAuras/RegionTypes/Group.lua
- @@ -78,7 +78,7 @@ local function modify(parent, region, data)
- local border = region.border;
- -- Scale
- - region:SetScale(data.scale or 1)
- + region:SetScale(data.scale and data.scale > 0 and data.scale or 1)
- -- Get overall bounding box
- local leftest, rightest, lowest, highest = 0, 0, 0, 0;
- diff --git a/WeakAurasOptions/RegionOptions/DynamicGroup.lua b/WeakAurasOptions/RegionOptions/DynamicGroup.lua
- index 653b793..3164dd5 100644
- --- a/WeakAurasOptions/RegionOptions/DynamicGroup.lua
- +++ b/WeakAurasOptions/RegionOptions/DynamicGroup.lua
- @@ -154,7 +154,7 @@ local function createOptions(id, data)
- type = "range",
- name = L["Group Scale"],
- order = 50,
- - softMin = 0.05,
- + min = 0.05,
- softMax = 2,
- bigStep = 0.05,
- get = function()
- diff --git a/WeakAurasOptions/RegionOptions/Group.lua b/WeakAurasOptions/RegionOptions/Group.lua
- index cd47f64..ff405ff 100644
- --- a/WeakAurasOptions/RegionOptions/Group.lua
- +++ b/WeakAurasOptions/RegionOptions/Group.lua
- @@ -496,7 +496,7 @@ local function createOptions(id, data)
- type = "range",
- name = L["Group Scale"],
- order = 45,
- - softMin = 0.05,
- + min = 0.05,
- softMax = 2,
- bigStep = 0.05,
- get = function()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement