mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-30 03:06:01 +00:00
cooldown: no break required
This commit is contained in:
@@ -56,9 +56,6 @@ pfUI:RegisterModule("cooldown", function ()
|
||||
|
||||
-- hook
|
||||
Hook("CooldownFrame_SetTimer", function(this, start, duration, enable)
|
||||
-- break here if no this-reference is set
|
||||
if not this then return end
|
||||
|
||||
-- realign guessed cooldown frames
|
||||
if this:GetParent() and this:GetParent():GetWidth() / 36 > 0 then
|
||||
this:SetScale(this:GetParent():GetWidth() / 36)
|
||||
|
||||
Reference in New Issue
Block a user