Skip to content

Commit

Permalink
Call ClearAllPoints before SetPoint
Browse files Browse the repository at this point in the history
  • Loading branch information
madcowfred committed Sep 4, 2023
1 parent bfd882e commit 6f64364
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Modules/Display.lua
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ function Module:Redraw()
self.frame:SetHeight(totalHeight + ((#self.fontStrings - 1) * 5) + (PADDING_OUTER * 2))
self.frame:SetWidth(maxWidth + (PADDING_OUTER * 2))

self.frame:ClearAllPoints()
self.frame:SetPoint('TOPLEFT', UIParent, 'BOTTOMLEFT', xPos, yPos)
end

Expand Down

0 comments on commit 6f64364

Please sign in to comment.