ingame/champion/champion.lua:161 -- GAMEPAD_CHAMPION_PERKS_SCENE:RegisterCallback("StateChange", function(oldState, newState)
SharedStateChangeCallback(oldState, newState)
if newState == SCENE_SHOWING then
DIRECTIONAL_INPUT:Activate(self, control)
elseif newState == SCENE_SHOWN then
CALLBACK_MANAGER:RegisterCallback("OnGamepadDialogShowing", self.OnGamepadDialogShowing)
elseif newState == SCENE_HIDING then
DIRECTIONAL_INPUT:Deactivate(self)
self.gamepadStarTooltip.scrollTooltip:ClearLines()
self.gamepadCursor:UpdateVisibility()
CALLBACK_MANAGER:UnregisterCallback("OnGamepadDialogShowing", self.OnGamepadDialogShowing)
end
end)