-- 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 |