from retail
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
if not WeakAuras.IsCorrectVersion() or not WeakAuras.IsLibsOK() then return end
|
||||
if not WeakAuras.IsLibsOK() then return end
|
||||
local AddonName, OptionsPrivate = ...
|
||||
|
||||
local L = WeakAuras.L;
|
||||
@@ -413,7 +413,7 @@ local function createDistributeAlignOptions(id, data)
|
||||
local childData = WeakAuras.GetData(childId);
|
||||
local childRegion = WeakAuras.GetRegion(childId)
|
||||
if(childData and childRegion) then
|
||||
if(v > 0) then
|
||||
if(v >= 0) then
|
||||
if(childData.selfPoint:find("LEFT")) then
|
||||
childData.xOffset = xOffset;
|
||||
elseif(childData.selfPoint:find("RIGHT")) then
|
||||
@@ -497,7 +497,7 @@ local function createDistributeAlignOptions(id, data)
|
||||
local childData = WeakAuras.GetData(childId);
|
||||
local childRegion = WeakAuras.GetRegion(childId)
|
||||
if(childData and childRegion) then
|
||||
if(v > 0) then
|
||||
if(v >= 0) then
|
||||
if(childData.selfPoint:find("BOTTOM")) then
|
||||
childData.yOffset = yOffset;
|
||||
elseif(childData.selfPoint:find("TOP")) then
|
||||
|
||||
Reference in New Issue
Block a user