Skip to content

Commit 82c34c1

Browse files
committed
Minor code cleanup
1 parent 95578cf commit 82c34c1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

modules/SideBarMixin.lua

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,10 @@ function SideBarMixin:UpdatePosition(frame)
337337
local point, relativeTo, relativePoint, foundXOffset;
338338
point, relativeTo, relativePoint, foundXOffset, yOffset = frame:GetPoint(1);
339339
replacePoint = false;
340-
if point == "TOP" and relativeTo == UIParent and relativePoint == "TOP"
341-
and (foundXOffset == 0 or ((foundXOffset - (xOffset * -1))) < 1) then
340+
if
341+
point == "TOP" and relativeTo == UIParent and relativePoint == "TOP"
342+
and (foundXOffset == 0 or ((foundXOffset - (xOffset * -1))) < 1)
343+
then
342344
replacePoint = true;
343345
end
344346
end

0 commit comments

Comments
 (0)