mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 17:40:48 +01:00
Fix delete tab shortcut
This commit is contained in:
@@ -518,7 +518,7 @@ public class EditorHeader extends JComponent {
|
||||
}
|
||||
};
|
||||
mapKey = "editor.header.delete";
|
||||
keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_D, Toolkit.SHORTCUT_ALT_KEY_MASK);
|
||||
keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_D, Toolkit.SHORTCUT_SHIFT_KEY_MASK);
|
||||
inputMap.put(keyStroke, mapKey);
|
||||
actionMap.put(mapKey, action);
|
||||
item.addActionListener(action);
|
||||
|
||||
Reference in New Issue
Block a user