Allow raw key handlers to cancel keybindings (required for #305)
So that when you press e.g. Ctrl+Z, it doesn't trigger the keybinding bound to Z (currently full brightness).
This commit is contained in:
@@ -468,10 +468,12 @@ public class GuiPathing {
|
||||
});
|
||||
}
|
||||
|
||||
public void deleteButtonPressed() {
|
||||
public boolean deleteButtonPressed() {
|
||||
if (mod.getSelectedPath() != null) {
|
||||
toggleKeyframe(mod.getSelectedPath(), false);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
private void startLoadingEntityTracker() {
|
||||
|
||||
Reference in New Issue
Block a user