This commit is contained in:
Bunny67
2018-07-08 22:44:56 +03:00
parent b2e551a37c
commit a351942283
11 changed files with 36 additions and 36 deletions
+1 -1
View File
@@ -480,7 +480,7 @@ function mod:OnCreated(frame)
frame.UnitFrame = CreateFrame("Button", nil, frame)
E:Size(frame.UnitFrame, 100, 20)
E:Point(frame.UnitFrame, "CENTER", 0, 0)
frame.UnitFrame:SetPoint("CENTER", 0, 0)
frame.UnitFrame:SetScript("OnEvent", self.OnEvent)
frame.UnitFrame:SetScript("OnClick", function()
frame:Click()