MenueController Button highlight
This commit is contained in:
parent
646d63c6c0
commit
f5ca04983c
@ -5,9 +5,6 @@ import javafx.event.ActionEvent;
|
||||
import javafx.fxml.FXML;
|
||||
import javafx.scene.Node;
|
||||
import javafx.scene.control.*;
|
||||
import javafx.scene.input.MouseEvent;
|
||||
|
||||
import java.util.HashMap;
|
||||
|
||||
public class MenueController {
|
||||
|
||||
@ -90,12 +87,14 @@ public class MenueController {
|
||||
buttons = p.getChildrenUnmodifiable();
|
||||
|
||||
for(Node button : buttons){
|
||||
b.getStyleClass().remove("active");
|
||||
System.out.println(b.getStyleClass());
|
||||
/*
|
||||
b.getStyleClass().remove("active");
|
||||
|
||||
if (button.equals(b)){
|
||||
b.getStyleClass().add("active");;
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user