fix(AceGUI-3.0): pcall the OnGamePadButtonDown SetScript (retail-only script type, crashes on 3.3.5)
All checks were successful
release / release (push) Successful in 2s
All checks were successful
release / release (push) Successful in 2s
This commit is contained in:
parent
28b13a85fa
commit
cdc3429882
1 changed files with 1 additions and 1 deletions
|
|
@ -199,7 +199,7 @@ local function Constructor()
|
|||
button:SetScript("OnKeyDown", Keybinding_OnKeyDown)
|
||||
button:SetScript("OnMouseDown", Keybinding_OnMouseDown)
|
||||
button:SetScript("OnMouseWheel", Keybinding_OnMouseWheel)
|
||||
button:SetScript("OnGamePadButtonDown", Keybinding_OnKeyDown)
|
||||
pcall(button.SetScript, button, "OnGamePadButtonDown", Keybinding_OnKeyDown)
|
||||
button:SetPoint("BOTTOMLEFT")
|
||||
button:SetPoint("BOTTOMRIGHT")
|
||||
button:SetHeight(24)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue