mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-24 21:10:49 +00:00
Use region:IsMouseOver instead of the MouseIsOver global
This commit is contained in:
+2
-2
@@ -526,10 +526,10 @@ pfUI:RegisterModule("chat", function ()
|
||||
|
||||
if pfUI.chat.hideLock then return end
|
||||
|
||||
if MouseIsOver(pfUI.chat.left, 10, -10, -10, 10) then
|
||||
if pfUI.chat.left:IsMouseOver(10, -10, -10, 10) then
|
||||
pfUI.chat.left.panelTop:Show()
|
||||
FCF_DockUpdate()
|
||||
elseif MouseIsOver(pfUI.chat.right, 10, -10, -10, 10) then
|
||||
elseif pfUI.chat.right:IsMouseOver(10, -10, -10, 10) then
|
||||
-- disable while dock is active
|
||||
if pfUI.chat.right:GetAlpha() == 0 then return end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user