Molinari/Molinari.lua
76,7 → 76,7
end |
|
function button:PLAYER_LOGIN() |
if(not IsSpellKnown(51005) and not IsSpellKnown(31252)) then return end |
if(not GetSpellInfo(milling) and not GetSpellInfo(31252)) then return end |
|
self:RegisterForClicks('LeftButtonUp') |
self:RegisterEvent('MODIFIER_STATE_CHANGED') |
93,4 → 93,12
for key, value in next, button.sparkles do |
value:SetWidth(value:GetWidth() * 3) |
value:SetHeight(value:GetHeight() * 3) |
end |
\ No newline at end of file
+end
+
+-- temporary fix for blizzard's bug with secure frames and anchoring on the ContainerFrame
+if(Bagnon or cargBags or Combuctor) then return end
+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