WoWInterface SVN Aloft

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /branches/cataclysm/Aloft/AloftFrame
    from Rev 1971 to Rev 1978
    Reverse comparison

Rev 1971 → Rev 1978

AloftFrame.lua
365,7 → 365,7
 
backdropFrame:SetBackdrop(backdropTable)
-- backdropFrame:SetBackdropBorderColor(unpack(self.db.profile.borderColor))
self:ClearBackdropColor(aloftData)
-- self:ClearBackdropColor(aloftData)
-- ChatFrame7:AddMessage("AloftFrame:SetupFrame(): backdrop cleared")
 
--[[
506,10 → 506,10
-- TODO: arrange for this flipping to happen only on nameplates on which the frame border is visible? seems harmless, but would
-- save a little heap overhead
 
backdropFrame:SetBackdropColor(0, 0, 0, 0) -- set a bogus color (basically clears the default/residual color)
backdropFrame:SetBackdropBorderColor(0, 0, 0, 0) -- set a bogus color (basically clears the default/residual color)
backdropFrame:SetBackdropColor(0, 0, 0, 0.1) -- set a bogus color (basically clears the default/residual color), non-transparent (to force a draw)
backdropFrame:SetBackdropBorderColor(0, 0, 0, 0.1) -- set a bogus color (basically clears the default/residual color), non-transparent (to force a draw)
-- backdropFrame:SetBackdropColor(r, g, b, a) -- we delay applying the actual color we want
-- backdropFrame:Show() -- no show required here (?!?), per the workaround
backdropFrame:Show() -- show, just to make sure?
 
-- frame delay to set the real color and show; 2010/11/05 frame delay verified as required, flipping the color inline does not have any effect
self:ScheduleTimer(function(arg) AloftFrame:DoSetAtomicBackgroundColor(arg) end, 0.15, { backdropFrame = backdropFrame, r = r, g = g, b = b, a = a, }) -- a bit more than one frame