MenueController Button highlight

This commit is contained in:
Richard Reiswich 2023-02-01 09:27:34 +01:00
parent b7bc440a4f
commit 3613e246c9

View File

@ -95,7 +95,7 @@ public class MenueController {
getSiblings(b); getSiblings(b);
for(Node button : buttons){ for(Node button : buttons){
b.getStyleClass().remove("active"); b.getStyleClass().remove("active");
System.out.println(b.getStyleClass());
if (button.equals(b)){ if (button.equals(b)){
b.getStyleClass().add("active");; b.getStyleClass().add("active");;