Shooting -> Function category / Dialog cleanup

This commit is contained in:
Anuken
2020-10-23 10:39:01 -04:00
parent d66cf13ac6
commit bf1268bb6e
16 changed files with 44 additions and 66 deletions

View File

@@ -51,11 +51,7 @@ public class FileChooser extends BaseDialog{
ok.fireClick();
});
keyDown(key -> {
if(key == KeyCode.escape || key == KeyCode.back){
Core.app.post(this::hide);
}
});
addCloseListener();
}
private void setupWidgets(){