From cfc5e7ba367e984219755f66787b96a7165ece07 Mon Sep 17 00:00:00 2001 From: maninhill <41712985+maninhill@users.noreply.github.com> Date: Wed, 20 Dec 2023 09:21:19 +0800 Subject: [PATCH] =?UTF-8?q?chore=EF=BC=9A=E5=8E=BB=E6=8E=89=E6=B2=A1?= =?UTF-8?q?=E7=94=A8=E7=9A=84=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/utils/style.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/core/core-frontend/src/utils/style.ts b/core/core-frontend/src/utils/style.ts index 4cb8f1642b..e63c0355ac 100644 --- a/core/core-frontend/src/utils/style.ts +++ b/core/core-frontend/src/utils/style.ts @@ -198,14 +198,6 @@ export function getCanvasStyle(canvasStyleData) { return style } -// export function createGroupStyle(groupComponent) { -// const parentStyle = groupComponent.style -// groupComponent.propValue.forEach(component => { -// component.style.left = component.style.left - parentStyle.left -// component.style.top = component.style.top - parentStyle.top -// }) -// } - export function createGroupStyle(groupComponent) { const parentStyle = groupComponent.style groupComponent.propValue.forEach(component => {