Fixed engine tests.
@@ -139,10 +139,14 @@ public NUIManagerInternal(CanvasRenderer renderer, Context context) {
// TODO: This is a work-around for-now to fix tabbing
TabbingManager.setFocusManager(this);
+
+ // NOTE: Fix for tests
+ if (bindsManager != null) {
TabbingManager.tabForwardInput = bindsManager.getBindsConfig().getBinds(new SimpleUri("engine:tabbingUI")).get(0);
TabbingManager.tabBackInputModifier = bindsManager.getBindsConfig().getBinds(new SimpleUri("engine:tabbingModifier")).get(0);
TabbingManager.activateInput = bindsManager.getBindsConfig().getBinds(new SimpleUri("engine:activate")).get(0);
}
+ }
@Override
public Deque<UIScreenLayer> getScreens() {
