Refactor DebugHandlerWidget (#900)

This commit is contained in:
slprime authored and GitHub committed 2026-03-22 14:10:10 +02:00
1 parent 6ed0be7961
commit 0ba14091fb
16 files changed
+890 -743

No files matched your search

@@ -93,7 +93,8 @@ public class IMCHandler {
final boolean multipleWidgetsAllowed = tag.hasKey("multipleWidgetsAllowed")
? tag.getBoolean("multipleWidgetsAllowed")
: tag.hasKey("maxRecipesPerPage") && tag.getInteger("maxRecipesPerPage") > 1;
info.setHandlerDimensions(handlerWidth, handlerHeight, multipleWidgetsAllowed);
info.setHandlerDimensions(handlerWidth, handlerHeight);
info.setMultipleWidgetsAllowed(multipleWidgetsAllowed);
} catch (NumberFormatException ignored) {
NEIClientConfig.logger.info("Error setting handler dimensions for {}", handler);
}