-
-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Merge pull request #179 from UniversalDataTool/feat/keyboard-sho…
…rtcut-manager Storybook and Hotkey Fixes
- Loading branch information
Showing
13 changed files
with
1,780 additions
and
2,386 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
export const defaultHotkeys = [ | ||
{ | ||
id: "switch_to_label", | ||
description: "Go to Labels Tab", | ||
binding: "shift+3", | ||
}, | ||
{ | ||
id: "switch_to_setup", | ||
description: "Go to Setup Tab", | ||
binding: "shift+1", | ||
}, | ||
{ | ||
id: "switch_to_samples", | ||
description: "Go to Samples Tab", | ||
binding: "shift+2", | ||
}, | ||
{ | ||
id: "select_tool", | ||
description: "Switch to the Select Tool", | ||
binding: "escape", | ||
}, | ||
{ | ||
id: "zoom_tool", | ||
description: "Select the Zoom Tool", | ||
binding: "z", | ||
}, | ||
{ | ||
id: "create_point", | ||
description: "Create a point", | ||
}, | ||
{ | ||
id: "create_bounding_box", | ||
description: "Create a bounding box", | ||
binding: "b", | ||
}, | ||
{ | ||
id: "pan_tool", | ||
description: "Select the Pan Tool", | ||
binding: "p", | ||
}, | ||
{ | ||
id: "create_polygon", | ||
description: "Create a Polygon", | ||
}, | ||
{ | ||
id: "create_pixel", | ||
description: "Create a Pixel Mask", | ||
}, | ||
{ | ||
id: "save_and_previous_sample", | ||
description: "Save and go to previous sample", | ||
binding: "a", | ||
}, | ||
{ | ||
id: "save_and_next_sample", | ||
description: "Save and go to next sample", | ||
binding: "d", | ||
}, | ||
{ | ||
id: "save_and_exit_sample", | ||
description: "Save and exit current sample", | ||
}, | ||
{ | ||
id: "exit_sample", | ||
description: "Exit sample without saving", | ||
}, | ||
] | ||
export default defaultHotkeys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.