[solved] Disable focuse mapping is not working in lemur 1.14.0

it is not working in lemur 1.14.0 . I tried like this:

 GuiGlobals.initialize(this);
 BaseStyles.loadStyleResources("Interface/theme/dark/dark-styles.groovy");
 GuiGlobals.getInstance().getStyles().setDefaultStyle("dark");
 GuiGlobals.getInstance().getInputMapper().deactivateGroup(FocusNavigationFunctions.UI_NAV);

You probably deactivated it before FocusNavigationState activated it. The danger of putting things like this in simpleInit() (which runs before everything).

But if you don’t want focus navigation then it’s perhaps better to just disable the FocusNavigationState.

GuiGlobals.getInstance().getFocusNavigationState().setEnabled(false);

…which I think should work even in simpleInit().

1 Like

thank you, it works.

1 Like