mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-26 05:50:50 +00:00
nameplates: disable modern click handlers for tbc
This commit is contained in:
@@ -70,7 +70,7 @@ pfUI:RegisterModule("nameplates", "vanilla:tbc", function ()
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- init
|
-- init
|
||||||
if C.nameplates["legacy"] == "0" then
|
if C.nameplates["legacy"] == "0" and pfUI.expansion == "vanilla" then
|
||||||
this:SetFrameLevel(0)
|
this:SetFrameLevel(0)
|
||||||
this:EnableMouse(false)
|
this:EnableMouse(false)
|
||||||
end
|
end
|
||||||
@@ -79,7 +79,7 @@ pfUI:RegisterModule("nameplates", "vanilla:tbc", function ()
|
|||||||
if C.nameplates.overlap == "1" and C.nameplates["legacy"] == "0" then
|
if C.nameplates.overlap == "1" and C.nameplates["legacy"] == "0" then
|
||||||
this:SetWidth(1)
|
this:SetWidth(1)
|
||||||
this:SetHeight(1)
|
this:SetHeight(1)
|
||||||
else
|
elseif pfUI.expansion == "vanilla" then
|
||||||
this:SetWidth(plate_width * UIParent:GetScale())
|
this:SetWidth(plate_width * UIParent:GetScale())
|
||||||
this:SetHeight(plate_height * UIParent:GetScale())
|
this:SetHeight(plate_height * UIParent:GetScale())
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user