don't merge Richards_Branch #6

Closed
PBS2H21ASH wants to merge 7 commits from Richards_Branch into main
Showing only changes of commit f5ca04983c - Show all commits

View File

@ -5,9 +5,6 @@ import javafx.event.ActionEvent;
import javafx.fxml.FXML; import javafx.fxml.FXML;
import javafx.scene.Node; import javafx.scene.Node;
import javafx.scene.control.*; import javafx.scene.control.*;
import javafx.scene.input.MouseEvent;
import java.util.HashMap;
public class MenueController { public class MenueController {
@ -90,12 +87,14 @@ public class MenueController {
buttons = p.getChildrenUnmodifiable(); buttons = p.getChildrenUnmodifiable();
for(Node button : buttons){ for(Node button : buttons){
b.getStyleClass().remove("active");
System.out.println(b.getStyleClass()); System.out.println(b.getStyleClass());
/*
b.getStyleClass().remove("active");
if (button.equals(b)){ if (button.equals(b)){
b.getStyleClass().add("active");; b.getStyleClass().add("active");;
} }
*/
} }
} }
} }