Use default PanelComponent size in Cooking plugin
So it is consistent with rest of plugins, mainly session ones. Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
@@ -78,7 +78,6 @@ class CookingOverlay extends Overlay
|
||||
return null;
|
||||
}
|
||||
|
||||
panelComponent.setPreferredSize(new Dimension(145, 0));
|
||||
panelComponent.getChildren().clear();
|
||||
|
||||
if (isCooking() || Duration.between(session.getLastCookingAction(), Instant.now()).getSeconds() < COOK_TIMEOUT)
|
||||
|
||||
Reference in New Issue
Block a user