Skip to content

Commit

Permalink
Added missing Ctrl-Y & Ctrl-X to keyboard shortcuts dialog
Browse files Browse the repository at this point in the history
Fixes #90.
  • Loading branch information
magjac committed Sep 27, 2018
1 parent a316848 commit 925ce0f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]
### Fixed
* Ctrl-Y and Ctrl-Z descriptions are missing in the keyboard shortcuts help dialog. #90
* If the DOT source is cleared when an error is indicated in the text editor, the old error message is still displayed. #88
* When the DOT source is cleared in the text editor, the old graph is still visible. #87
* The error button in the text editor might be covered by the highlighting of the current line. #85
Expand Down
2 changes: 2 additions & 0 deletions src/KeyboardShortcutsDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ const keyboardShortcuts = [
{key: 'Ctrl-C', description: 'Copy the selected node.'},
{key: 'Ctrl-V', description: 'Paste the cut/copied node.'},
{key: 'Ctrl-X', description: 'Cut the selected node.'},
{key: 'Ctrl-Y', description: 'Redo. Reimplement the last DOT source change.'},
{key: 'Ctrl-Z', description: 'Undo. Revert the last DOT source change.'},
{key: 'DEL', description: 'Delete the selected nodes and edges.'},
{key: 'ESC', description: 'De-select the selected nodes and edges. Abort the current drawing operation.'},
{key: '?', description: 'Show keyboard shortcuts.'},
Expand Down

0 comments on commit 925ce0f

Please sign in to comment.