Cannot handle middle-clicks in controller widgets
Protonull opened this issue ยท 0 comments
Since yacl displays options within a list, and dev.isxander.yacl3.gui.ElementListWidgetExt
overrides boolean isValidMouseClick(int)
to accept left clicks and right clicks, but not middle clicks. This could be remedied with:
/*? if >1.20.1 {*/
@Override
/*?}*/
protected boolean isValidMouseClick(int button) {
return button == InputConstants.MOUSE_BUTTON_LEFT
|| button == InputConstants.MOUSE_BUTTON_RIGHT
|| button == InputConstants.MOUSE_BUTTON_MIDDLE;
}