delete unused function

This commit is contained in:
giavaphi 2022-12-11 16:45:07 +01:00
parent a519393fc7
commit a8a693296e
1 changed files with 0 additions and 13 deletions

View File

@ -56,7 +56,6 @@ public class MainFXMLController {
@FXML
void goToHome() {
showPaneAsMainView("Home.fxml");
styleChangeButton(home_button);
}
/**
@ -65,7 +64,6 @@ public class MainFXMLController {
@FXML
void goToMyPlants() {
showPaneAsMainView("MyGarden.fxml");
styleChangeButton(myGarden_button);
}
/**
@ -74,7 +72,6 @@ public class MainFXMLController {
@FXML
void goToMySchedule() {
showPaneAsMainView("MySchedule.fxml");
styleChangeButton(mySchedule_button);
}
/**
@ -160,15 +157,6 @@ public class MainFXMLController {
appLoader.loadAndCacheFxml("Plants.fxml");
}
private void styleChangeButton(Button button) {
/*home_button.setStyle("-fx-background-color: rgb(0,128,0)");
myGarden_button.setStyle("-fx-background-color: rgb(0,128,0)");
mySchedule_button.setStyle("-fx-background-color: rgb(0,128,0)");
settings_button.setStyle("-fx-background-color: rgb(0,128,0)");
tutorial_button.setStyle("-fx-background-color: rgb(0,128,0)");
button.setStyle("-fx-background-color: darkgreen");*/
}
/**
* loads the default FXML File
* {@inheritDoc}
@ -179,7 +167,6 @@ public class MainFXMLController {
try {
preloadPanes();
showPaneAsMainView("MyGarden.fxml");
styleChangeButton(myGarden_button);
} catch (IOException e) {
LOG.log(Level.SEVERE, "Failed to load FXML-Pane!", e);
}