mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-26 05:50:50 +00:00
changed mouse on leave to mouse on right click for search window to cancel it-
This commit is contained in:
+2
-2
@@ -1071,8 +1071,8 @@ pfUI:RegisterModule("bags", "vanilla:tbc", function ()
|
|||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
frame.search.edit:SetScript("OnLeave", function()
|
frame.search.edit:SetScript("OnMouseUp", function()
|
||||||
if GetMouseFocus() ~= this then
|
if arg1 == "RightButton" then
|
||||||
this:ClearFocus()
|
this:ClearFocus()
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|||||||
Reference in New Issue
Block a user