From 1bec76e137996a197fdab9aa4ab90d7f020eb80d Mon Sep 17 00:00:00 2001 From: liujuping Date: Thu, 9 Mar 2023 15:19:57 +0800 Subject: [PATCH] fix: fix the problem that free nodes cannot be dragged --- lowcode/view.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lowcode/view.tsx b/lowcode/view.tsx index 387fe77..c7bb79c 100644 --- a/lowcode/view.tsx +++ b/lowcode/view.tsx @@ -287,7 +287,7 @@ const FixedPointView = (props: { const { _leaf, children, left = 0, top = 0, ...others } = props; // hack engine for mousedown - if (_leaf?.parent?.isRGLContainerNode) { + if (_leaf?.parent) { _leaf.parent.isRGLContainerNode = true; }