>wowhelm_
~/forever/addon-api/source/1.60.1.70862

Interface/AddOns/Blizzard_GamepadSmartNavigation/SmartNavigation.lua

1.60.1.70862 compared with 1.60.1.70840 · 2026-11-07 · +7 −0· view file
@@ -192,6 +192,11 @@ function SmartNavigationMixin:InitializeGamepad()
end
self.enabled = true;
+
+ EventRegistry:RegisterCallback("UI.AlternateTopLevelParentChanged", function(_, frame)
+ SetAppropriateTopLevelParent(self);
+ self:SetFrameStrata("TOOLTIP");
+ end, self);
end
function SmartNavigationMixin:UninitializeGamepad()
@@ -205,6 +210,8 @@ function SmartNavigationMixin:UninitializeGamepad()
GamepadMode.DeactivateBindingGroup(self.navigationBindings);
GamepadMode.DeactivateBindingGroup(self.rightStickScrollBindings);
+
+ EventRegistry:UnregisterCallback("UI.AlternateTopLevelParentChanged", self);
end
function SmartNavigationMixin:SetupInputBindings()