fix(autoconfig): fix back-animation to empty screen
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-import org.terasology.gestalt.assets.ResourceUrn;
-import org.terasology.gestalt.assets.management.AssetManager;
import org.terasology.engine.config.flexible.AutoConfig;
import org.terasology.engine.config.flexible.AutoConfigManager;
import org.terasology.engine.core.module.ModuleManager;
import org.terasology.engine.registry.In;
import org.terasology.engine.rendering.nui.CoreScreenLayer;
+import org.terasology.gestalt.assets.ResourceUrn;
+import org.terasology.gestalt.assets.management.AssetManager;
import org.terasology.nui.UIWidget;
import org.terasology.nui.WidgetUtil;
import org.terasology.nui.databinding.Binding;
@@ -51,4 +51,9 @@ public void initialise() {
}
WidgetUtil.trySubscribe(this, "close", button -> triggerBackAnimation());
}
+
+ @Override
+ public boolean isLowerLayerVisible() {
+ return false;
+ }
}
