mirror of https://github.com/rusefi/rusefi.git
Console crashed on start-up due to gauges layout code being fragile #4742
i think it's just better without that check
This commit is contained in:
parent
4f5f381e93
commit
f26a095b9b
|
@ -56,12 +56,6 @@ public class GaugesPanel {
|
|||
private static final int DEFAULT_COLUMNS = 3;
|
||||
public static boolean IS_PAUSED; // dirty but works for not
|
||||
|
||||
static {
|
||||
int expected = SizeSelectorPanel.WIDTH * SizeSelectorPanel.HEIGHT;
|
||||
if (DEFAULT_LAYOUT.length != expected)
|
||||
throw new IllegalStateException("Invalid gauges panel size " + DEFAULT_LAYOUT.length + " while " + expected + " expected");
|
||||
}
|
||||
|
||||
private final JPanel content = new JPanel(new BorderLayout());
|
||||
private final GaugesGrid gauges;
|
||||
private final Node config;
|
||||
|
|
Loading…
Reference in New Issue