mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-17 18:20:49 +00:00
nameplates: disable right-click emulation for tbc
This commit is contained in:
@@ -104,7 +104,7 @@ pfUI:RegisterModule("nameplates", "vanilla:tbc", function ()
|
|||||||
this.nameplate:EnableMouse(false)
|
this.nameplate:EnableMouse(false)
|
||||||
end
|
end
|
||||||
|
|
||||||
if C.nameplates["rightclick"] == "1" then
|
if C.nameplates["rightclick"] == "1" and pfUI.client < 20000 then
|
||||||
local plate = C.nameplates["legacy"] == "0" and this.nameplate or this
|
local plate = C.nameplates["legacy"] == "0" and this.nameplate or this
|
||||||
plate:SetScript("OnMouseDown", function()
|
plate:SetScript("OnMouseDown", function()
|
||||||
if arg1 and arg1 == "RightButton" then
|
if arg1 and arg1 == "RightButton" then
|
||||||
|
|||||||
Reference in New Issue
Block a user