This commit is contained in:
Pinya
2018-07-22 22:16:39 +03:00
parent 5190f2abf6
commit 19e78f6174
3 changed files with 3 additions and 6 deletions
-3
View File
@@ -17,9 +17,6 @@ end
local function onEvent() local function onEvent()
if(this:IsVisible() or event == 'UNIT_COMBO_POINTS') then if(this:IsVisible() or event == 'UNIT_COMBO_POINTS') then
--print(this, event, arg and unpack(arg))
--print(this, event, arg1, arg2, arg3, arg4, arg5)
return this[event](this, event, arg1, arg2, arg3, arg4, arg5) return this[event](this, event, arg1, arg2, arg3, arg4, arg5)
end end
end end
+1 -1
View File
@@ -7,7 +7,7 @@ local argcheck = Private.argcheck
local queue = {} local queue = {}
local factory = CreateFrame('Frame') local factory = CreateFrame('Frame')
factory:SetScript('OnEvent', function() factory:SetScript('OnEvent', function()
return this[event](this, event, arg and unpack(arg)) return this[event](this)
end) end)
factory:RegisterEvent('PLAYER_LOGIN') factory:RegisterEvent('PLAYER_LOGIN')
@@ -272,8 +272,8 @@ local function OnVerticalScroll() -- ScrollFr
editBox:SetHitRectInsets(0, 0, arg1, editBox:GetHeight() - arg1 - this:GetHeight()) editBox:SetHitRectInsets(0, 0, arg1, editBox:GetHeight() - arg1 - this:GetHeight())
this.obj.scrollFrame:SetScrollChild(editBox) this.obj.scrollFrame:SetScrollChild(editBox)
editBox:SetPoint("TOPLEFT",0,arg1) editBox:SetPoint("TOPLEFT", 0, arg1)
editBox:SetPoint("TOPRIGHT",0,arg1) editBox:SetPoint("TOPRIGHT", 0, arg1)
end end
local function OnShowFocus() local function OnShowFocus()