changed mouse on leave to mouse on right click for search window to cancel it-

This commit is contained in:
Meow
2026-03-11 15:06:51 +01:00
parent ae8dc71bb8
commit 4176358bfa
+2 -2
View File
@@ -1071,8 +1071,8 @@ pfUI:RegisterModule("bags", "vanilla:tbc", function ()
end
end)
frame.search.edit:SetScript("OnLeave", function()
if GetMouseFocus() ~= this then
frame.search.edit:SetScript("OnMouseUp", function()
if arg1 == "RightButton" then
this:ClearFocus()
end
end)