From 3db6415686fc38af29ce45b20243ed22f763d585 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Fri, 14 Apr 2023 09:52:44 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=20topology=20=E6=94=AF=E6=8C=81=20?= =?UTF-8?q?=E5=9B=BE=E7=89=87=20=E6=B0=B4=E5=B9=B3=E5=8F=8D=E8=BD=AC=20?= =?UTF-8?q?=E4=BB=A5=E5=8F=8A=E5=9E=82=E7=9B=B4=E5=8F=8D=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/project/meta2d/js/meta2dMain.js | 2 ++ .../common/project/meta2d/meta2dElement.vue | 26 +++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/nezha-fronted/src/components/common/project/meta2d/js/meta2dMain.js b/nezha-fronted/src/components/common/project/meta2d/js/meta2dMain.js index 6b1e62937..fa1f5309b 100644 --- a/nezha-fronted/src/components/common/project/meta2d/js/meta2dMain.js +++ b/nezha-fronted/src/components/common/project/meta2d/js/meta2dMain.js @@ -214,6 +214,8 @@ export default { pen.isNz = true pen.locked = pen.locked || 0 pen.isBottom = true + pen.flipX = pen.flipX || false + pen.flipY = pen.flipY || false if (pen.rect) { pen.x = pen.rect.x pen.y = pen.rect.y diff --git a/nezha-fronted/src/components/common/project/meta2d/meta2dElement.vue b/nezha-fronted/src/components/common/project/meta2d/meta2dElement.vue index ca8bef26f..8efa8a93b 100644 --- a/nezha-fronted/src/components/common/project/meta2d/meta2dElement.vue +++ b/nezha-fronted/src/components/common/project/meta2d/meta2dElement.vue @@ -312,6 +312,32 @@ > +
+
+ {{$t('水平反转')}} +
+
+ +
+
+
+
+ {{$t('垂直反转')}} +
+
+ +
+