From b1b5b9c817025721ca9d61a7907ad814e7a7500c Mon Sep 17 00:00:00 2001 From: Paul Vilalta Date: Tue, 22 Nov 2022 10:08:04 +0100 Subject: [PATCH] add illu rotate 2d --- .../ShortcutMove2D.vue | 110 ++++++++++++++++++ .../ShortcutRotate2D.vue | 72 ++++-------- .../BIMDataLibraryIllustrations/index.js | 2 + .../Components/Illustrations/Illustrations.js | 5 + 4 files changed, 142 insertions(+), 47 deletions(-) create mode 100644 src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/ShortcutMove2D.vue diff --git a/src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/ShortcutMove2D.vue b/src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/ShortcutMove2D.vue new file mode 100644 index 00000000..1ccf3afa --- /dev/null +++ b/src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/ShortcutMove2D.vue @@ -0,0 +1,110 @@ + diff --git a/src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/ShortcutRotate2D.vue b/src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/ShortcutRotate2D.vue index 1ccf3afa..47c03495 100644 --- a/src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/ShortcutRotate2D.vue +++ b/src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/ShortcutRotate2D.vue @@ -22,89 +22,67 @@ fill="#F8C62C" /> + + - - - - - - - diff --git a/src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/index.js b/src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/index.js index 658b5386..94f02d9a 100644 --- a/src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/index.js +++ b/src/BIMDataComponents/BIMDataIllustration/BIMDataLibraryIllustrations/index.js @@ -11,6 +11,7 @@ import emptyPdf from "./EmptyPdf.vue"; import shortcutOpen from "./ShortcutOpen.vue"; import shortcutRotate from "./ShortcutRotate.vue"; import shortcutZoom from "./ShortcutZoom.vue"; +import shortcutMove2D from "./ShortcutMove2D.vue"; import shortcutOpen2D from "./ShortcutOpen2D.vue"; import shortcutRotate2D from "./ShortcutRotate2D.vue"; import shortcutZoom2D from "./ShortcutZoom2D.vue"; @@ -30,6 +31,7 @@ export default { shortcutOpen, shortcutRotate, shortcutZoom, + shortcutMove2D, shortcutOpen2D, shortcutRotate2D, shortcutZoom2D, diff --git a/src/web/views/Components/Illustrations/Illustrations.js b/src/web/views/Components/Illustrations/Illustrations.js index fdb3edc9..986dfbe8 100644 --- a/src/web/views/Components/Illustrations/Illustrations.js +++ b/src/web/views/Components/Illustrations/Illustrations.js @@ -64,6 +64,11 @@ export default Object.freeze([ x: "200", y: "200", }, + { + name: "shortcutMove2D", + x: "200", + y: "200", + }, { name: "shortcutOpen2D", x: "200",