Anki/ts/routes/image-occlusion/tools/shortcuts.ts
llama 174b199164
Add IO mask colour fill tool (#4048)
* add fill tool

* add fill tool logic

* open colour picker on fill tool activation

* refactor/add fill attr to io clozes

* fill masks in editor

* fill text and inactive masks in reviewer

* fix lint

* remove debug option
2025-06-04 11:45:34 +07:00

28 lines
1.3 KiB
TypeScript

// Copyright: Ankitects Pty Ltd and contributors
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
export const cursorKeyCombination = "S";
export const rectangleKeyCombination = "R";
export const ellipseKeyCombination = "E";
export const polygonKeyCombination = "P";
export const textKeyCombination = "T";
export const fillKeyCombination = "C";
export const magnifyKeyCombination = "M";
export const undoKeyCombination = "Control+Z";
export const redoKeyCombination = "Control+Y";
export const zoomOutKeyCombination = "[";
export const zoomInKeyCombination = "]";
export const zoomResetKeyCombination = "F";
export const toggleTranslucentKeyCombination = "L";
export const deleteKeyCombination = "Delete";
export const duplicateKeyCombination = "D";
export const groupKeyCombination = "G";
export const ungroupKeyCombination = "U";
export const selectAllKeyCombination = "A";
export const alignLeftKeyCombination = "Shift+L";
export const alignHorizontalCenterKeyCombination = "Shift+H";
export const alignRightKeyCombination = "Shift+R";
export const alignTopKeyCombination = "Shift+T";
export const alignVerticalCenterKeyCombination = "Shift+V";
export const alignBottomKeyCombination = "Shift+B";
export const toggleMaskEditorKeyCombination = "Control+Alt+Shift+M";