Compare commits

..

No commits in common. "e4793780fd5540fa23617962d300ba740801410d" and "3f6625b270946a0acb7ae1cbe061600aefc9584f" have entirely different histories.

View file

@ -40,7 +40,7 @@ public class IngredientListCell extends ListCell<Ingredient> {
BUTTON_PADDING_Y, BUTTON_PADDING_Y,
BUTTON_PADDING_X BUTTON_PADDING_X
)); ));
deleteButton.setOnAction(event -> getListView().getItems().remove(getItem())); deleteButton.setOnAction(event -> getListView().getItems().remove(this));
// Calculate Delete Button Width // Calculate Delete Button Width
Text textNode = new Text(deleteButton.getText()); Text textNode = new Text(deleteButton.getText());