From 0691d54265bdec95baa48d83a46d7f2937472613 Mon Sep 17 00:00:00 2001
From: zyx <zyx123456>
Date: 星期日, 07 四月 2024 09:36:22 +0800
Subject: [PATCH] Merge branch 'tzskasrs-2' of http://47.97.1.152:5880/r/zy-asrs into tzskasrs-2
---
src/main/webapp/views/home/map2.html | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/main/webapp/views/home/map2.html b/src/main/webapp/views/home/map2.html
index 946552e..23d9298 100644
--- a/src/main/webapp/views/home/map2.html
+++ b/src/main/webapp/views/home/map2.html
@@ -759,6 +759,11 @@
pixiApp.stage.addChild(rectangle);
}
})
+
+ //瑙嗚灞呬腑
+ let containerWidth = (pixiApp.view.width - objectsContainer.width) / 2;
+ let containerHeight = (pixiApp.view.height - objectsContainer.height) / 2;
+ pixiApp.stage.position.set(containerWidth, containerHeight);
},
getRealRowByX(x) {
//鑾峰彇鐪熷疄搴撲綅琛屽彿锛岄�氳繃鍧愭爣x
--
Gitblit v1.9.1