更新 'src/components/ControlPanelDialog.vue'

魔墙:修复旋转后多选移动bug
This commit is contained in:
彭 苗 2022-12-29 16:52:39 +08:00
parent 2807b58d4a
commit a5488a0aca
1 changed files with 1 additions and 1 deletions

View File

@ -689,7 +689,7 @@ export default defineComponent({
const point_list = four_point(); const point_list = four_point();
if (wall_dom) { if (wall_dom) {
if (item.angle != 0 && point_list) { if (item.angle != 0 && point_list) {
let minx = 10000; let minx = 0;
point_list.forEach((element) => { point_list.forEach((element) => {
if (minx > element.x) { if (minx > element.x) {
minx = element.x; minx = element.x;