File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed
Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -4,15 +4,25 @@ local PoolManager = {}
44namespace .PoolManager = PoolManager
55
66local function ResetterFunc (pool , frame )
7+ if frame .isTesting then
8+ frame :StopMovingOrSizing ()
9+ frame :EnableMouse (false )
10+ if frame .tooltip then
11+ frame .tooltip :Hide ()
12+ end
13+ end
14+
15+ if frame .animationGroup and frame .animationGroup :IsPlaying () then
16+ frame .animationGroup :Stop ()
17+ end
18+
719 frame :Hide ()
820 frame :SetParent (nil )
921 frame :ClearAllPoints ()
1022 frame .isTesting = false
1123 frame .isActiveCast = false
12-
13- if frame .animationGroup and frame .animationGroup :IsPlaying () then
14- frame .animationGroup :Stop ()
15- end
24+ frame .parent = nil
25+ frame .unitID = nil
1626end
1727
1828-- Note: don't add any major code reworks here, this codebase will soon be replaced with the player-castbar-v2 branch
You can’t perform that action at this time.
0 commit comments