MenueController Button highlight
This commit is contained in:
parent
b7bc440a4f
commit
3613e246c9
@ -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");;
|
||||||
|
Loading…
Reference in New Issue
Block a user