mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-15 09:40:49 +00:00
nameplates: fix click events on legacy plates
This commit is contained in:
@@ -401,7 +401,7 @@ pfUI:RegisterModule("nameplates", function ()
|
|||||||
|
|
||||||
-- disable click events while spell is targeting
|
-- disable click events while spell is targeting
|
||||||
local mouseEnabled = this.nameplate:IsMouseEnabled()
|
local mouseEnabled = this.nameplate:IsMouseEnabled()
|
||||||
if C.nameplates["clickthrough"] == "0" and SpellIsTargeting() == mouseEnabled then
|
if C.nameplates["clickthrough"] == "0" and C.nameplates["legacy"] == "0" and SpellIsTargeting() == mouseEnabled then
|
||||||
this.nameplate:EnableMouse(not mouseEnabled)
|
this.nameplate:EnableMouse(not mouseEnabled)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user