Quantcast
WoWInterface: SVN - Molinari - Path Comparison - /trunk Rev 6 and /trunk Rev 7

WoWInterface SVN Molinari

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 6 to Rev 7
    Reverse comparison

Rev 6 → Rev 7

Molinari/Molinari.lua
45,10 → 45,8
do
local milling, prospecting = GetSpellInfo(51005), GetSpellInfo(31252)
local macro = '/cast %s\n/use %s %s'
local orig = tooltip:GetScript('OnTooltipSetItem')
 
function tooltipHook(self, ...)
if(self and orig) then orig(self, ...) end
function tooltipHook(self)
if(InCombatLockdown()) then return end
 
if(self:GetItem() and IsAltKeyDown()) then
97,4 → 95,4
button:SetFrameStrata('DIALOG')
button:SetScript('OnLeave', function(self) self:Hide() end)
button:SetScript('OnEvent', function(self, event, ...) self[event](self, event, ...) end)
tooltip:SetScript('OnTooltipSetItem', tooltipHook)
\ No newline at end of file +tooltip:HookScript('OnTooltipSetItem', tooltipHook) \ No newline at end of file