Shooting -> Function category / Dialog cleanup
This commit is contained in:
@@ -38,8 +38,7 @@ public class PaletteDialog extends Dialog{
|
||||
}
|
||||
|
||||
keyDown(key -> {
|
||||
if(key == KeyCode.escape || key == KeyCode.back)
|
||||
hide();
|
||||
if(key == KeyCode.escape || key == KeyCode.back) hide();
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user