fix(libs): pcall AceGUI OnGamePadButtonDown (3.3.5 has no gamepad script type)
All checks were successful
release / release (push) Successful in 3s
All checks were successful
release / release (push) Successful in 3s
This commit is contained in:
parent
761faae363
commit
995e6c7d77
1 changed files with 1 additions and 1 deletions
|
|
@ -199,7 +199,7 @@ local function Constructor()
|
||||||
button:SetScript("OnKeyDown", Keybinding_OnKeyDown)
|
button:SetScript("OnKeyDown", Keybinding_OnKeyDown)
|
||||||
button:SetScript("OnMouseDown", Keybinding_OnMouseDown)
|
button:SetScript("OnMouseDown", Keybinding_OnMouseDown)
|
||||||
button:SetScript("OnMouseWheel", Keybinding_OnMouseWheel)
|
button:SetScript("OnMouseWheel", Keybinding_OnMouseWheel)
|
||||||
button:SetScript("OnGamePadButtonDown", Keybinding_OnKeyDown)
|
pcall(button.SetScript, button, "OnGamePadButtonDown", Keybinding_OnKeyDown)
|
||||||
button:SetPoint("BOTTOMLEFT")
|
button:SetPoint("BOTTOMLEFT")
|
||||||
button:SetPoint("BOTTOMRIGHT")
|
button:SetPoint("BOTTOMRIGHT")
|
||||||
button:SetHeight(24)
|
button:SetHeight(24)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue