From 1bc5d093276a0a7570b8aa6f1882e544329890b4 Mon Sep 17 00:00:00 2001 From: shagu Date: Tue, 14 Jun 2022 18:41:58 +0200 Subject: [PATCH] api: clear events in autohide disable --- api/api.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/api/api.lua b/api/api.lua index 4693d2a0..2fe63a31 100644 --- a/api/api.lua +++ b/api/api.lua @@ -1186,6 +1186,7 @@ function pfUI.api.DisableAutohide(frame) if not frame then return end if not frame.hover then return end + frame.hover:SetScript("OnEvent", nil) frame.hover:SetScript("OnUpdate", nil) frame.hover:Hide() frame:SetAlpha(1)