I built a custom calendar control with many navegability features, the only issue im facing now is the month jump on shift+scrollwheel.
mainb.setOnScroll(e->{
mainb.requestFocus();
System.out.println(e.getDeltaY());
if(e.isShiftDown()){
if(e.getDeltaY()>0)
prev.fire();
else
next.fire();
}else if(e.isControlDown()){
System.out.println(e.getDeltaY());
if(e.getDeltaY()>0)
prevDay();
else
nextDay();
}else{
if(e.getDeltaY()>0)
prevWeek();
else
nextWeek();
}
});
code + component + console results
if(e.isShiftDown()){
if(e.getDeltaY()>0)//always 0.0
prev.fire();//never fired
else
next.fire();//always fired
}