Merge pull request #7869 from deathbeam/cooking-normalize
Use default PanelComponent size in Cooking plugin
This commit is contained in:
@@ -78,7 +78,6 @@ class CookingOverlay extends Overlay
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
panelComponent.setPreferredSize(new Dimension(145, 0));
|
|
||||||
panelComponent.getChildren().clear();
|
panelComponent.getChildren().clear();
|
||||||
|
|
||||||
if (isCooking() || Duration.between(session.getLastCookingAction(), Instant.now()).getSeconds() < COOK_TIMEOUT)
|
if (isCooking() || Duration.between(session.getLastCookingAction(), Instant.now()).getSeconds() < COOK_TIMEOUT)
|
||||||
|
|||||||
Reference in New Issue
Block a user