/
parent.total = parent.total + elapsed |
if (parent.total > 0.1) then |
parent.total = 0 |
if (MouseIsOver(self)) then |
if (MouseIsOver(self) or bdCore.moving) then |
self:SetAlpha(1) |
else |
self:SetAlpha(0) |
end |
end) |
bdCore:hookEvent("bd_toggle_lock", function() |
if bdCore.moving then parent:SetAlpha(1) else parent:SetAlpha(0) end |
end) |
parent.hooked = true |
end |
if (not frame.hooked) then |