Molinari/Molinari.lua
90,8 → 90,11
end |
|
-- temporary fix for blizzard's bug with secure frames and anchoring on the ContainerFrame |
hooksecurefunc('ContainerFrame_GenerateFrame', function(self, size, id) |
if(size ~= 1 and id == 0) then |
ContainerFrame1Item1:SetPoint('BOTTOMRIGHT', ContainerFrame1MoneyFrameCopperButton, 'BOTTOMRIGHT', 3, 21) |
end |
end) |
\ No newline at end of file
+if(not CONTAINERFRAMEFIX and FUXFUXFUXFUX) then
+ hooksecurefunc('ContainerFrame_GenerateFrame', function(self, size, id)
+ if(size ~= 1 and id == 0) then
+ ContainerFrame1Item1:SetPoint('BOTTOMRIGHT', ContainerFrame1MoneyFrameCopperButton, 'BOTTOMRIGHT', 3, 21)
+ end
+ end)
+ CONTAINERFRAMEFIX = true
+end
\ No newline at end of file