From 35de1d408d5d4028f581c754bf1b98417aa828fe Mon Sep 17 00:00:00 2001 From: 1ilit <1ilit@proton.me> Date: Sat, 31 May 2025 20:24:37 +0400 Subject: [PATCH] Remove `shortcuts.js` (#469) --- src/data/shortcuts.js | 50 ------------------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 src/data/shortcuts.js diff --git a/src/data/shortcuts.js b/src/data/shortcuts.js deleted file mode 100644 index eaf3c03..0000000 --- a/src/data/shortcuts.js +++ /dev/null @@ -1,50 +0,0 @@ -export const shortcuts = [ - { shortcut: "CTRL+S", title: "Save diagram", description: "" }, - { shortcut: "CTRL+Shift+S", title: "Save diagram as", description: "" }, - { - shortcut: "CTRL+O", - title: "Open a diagram", - description: "Load a saved diagram", - }, - { shortcut: "CTRL+C", title: "Copy selected element", description: "" }, - { shortcut: "CTRL+V", title: "Paste selected element", description: "" }, - { shortcut: "CTRL+X", title: "Cut selected element", description: "" }, - { shortcut: "CTRL+D", title: "Duplicate selected element", description: "" }, - { shortcut: "DEL", title: "Delete selected element", description: "" }, - { shortcut: "CTRL+E", title: "Edit selected element", description: "" }, - { - shortcut: "CTRL+I", - title: "Import a diagram", - description: "Import a diagram by uploadng a valid json or dbb file.", - }, - { shortcut: "CTRL+Z", title: "Undo" }, - { shortcut: "CTRL+Y", title: "Redo" }, - { - shortcut: "CTRL+SHIFT+M", - title: "Enable/disable strict mode", - description: - "Disabling strict mode entails that the diagram will not undergo error or inconsistency checks.", - }, - { - shortcut: "CTRL+SHIFT+F", - title: "Enable/disable field summaries", - description: - "Disabling field summaries will prevent the display of details for each field in the table when hovered over.", - }, - { shortcut: "CTRL+SHIFT+G", title: "Show/hide grid" }, - { - shortcut: "CTRL+ALT+C", - title: "Copy as image", - description: "Save the canvas as an image to the clipboard.", - }, - { - shortcut: "CTRL+R", - title: "Reset view", - description: "Resetting view will set diagram pan to (0, 0).", - }, - { shortcut: "CTRL+UP / CTRL+Wheel up", title: "Zoom in" }, - { shortcut: "CTRL+DOWN / CTRL+Wheel down", title: "Zoom out" }, - { shortcut: "Wheel up / Wheel down", title: "Pan Y" }, - { shortcut: "SHIFT+Wheel up / SHIFT+Wheel down", title: "Pan X" }, - { shortcut: "CTRL+H", title: "Open shortcuts" }, -];