From e53d36a01183ebe660ab2d77c9bcd4e0ab6c42a3 Mon Sep 17 00:00:00 2001
From: zyx <zyx123456>
Date: 星期二, 06 二月 2024 19:20:06 +0800
Subject: [PATCH] #AGV 输送线扫码器扫描
---
src/main/webapp/views/console4.html | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/main/webapp/views/console4.html b/src/main/webapp/views/console4.html
index e67a295..baceb7d 100644
--- a/src/main/webapp/views/console4.html
+++ b/src/main/webapp/views/console4.html
@@ -512,6 +512,11 @@
pixiStageList[index][idx] = sprite
}
});
+
+ //瑙嗚灞呬腑
+ let containerWidth = (pixiApp.view.width - objectsContainer.width) / 2;
+ let containerHeight = (pixiApp.view.height - objectsContainer.height) / 2;
+ pixiApp.stage.position.set(containerWidth, containerHeight);
}else {
let diff = this.findDiffList(this.map, map);
diff.forEach((item, index) => {
--
Gitblit v1.9.1