mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
update Player UF
This commit is contained in:
@@ -82,10 +82,8 @@ function UF:Update_PlayerFrame(frame, db)
|
|||||||
frame.Portrait = frame.Portrait or (db.portrait.style == "2D" and frame.Portrait2D or frame.Portrait3D)
|
frame.Portrait = frame.Portrait or (db.portrait.style == "2D" and frame.Portrait2D or frame.Portrait3D)
|
||||||
frame:RegisterForClicks(self.db.targetOnMouseDown and "LeftButtonDown" or "LeftButtonUp", self.db.targetOnMouseDown and "RightButtonDown" or "RightButtonUp")
|
frame:RegisterForClicks(self.db.targetOnMouseDown and "LeftButtonDown" or "LeftButtonUp", self.db.targetOnMouseDown and "RightButtonDown" or "RightButtonUp")
|
||||||
|
|
||||||
frame:SetWidth(frame.UNIT_WIDTH)
|
E:Size(frame, frame.UNIT_WIDTH, frame.UNIT_HEIGHT)
|
||||||
frame:SetHeight(frame.UNIT_HEIGHT)
|
E:Size(_G[frame:GetName().."Mover"], frame:GetWidth(), frame:GetHeight())
|
||||||
_G[frame:GetName().."Mover"]:SetWidth(frame:GetWidth())
|
|
||||||
_G[frame:GetName().."Mover"]:SetHeight(frame:GetHeight())
|
|
||||||
|
|
||||||
UF:Configure_InfoPanel(frame)
|
UF:Configure_InfoPanel(frame)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user