Skip to content

Commit

Permalink
fix: fix the problem that free nodes cannot be dragged
Browse files Browse the repository at this point in the history
  • Loading branch information
liujuping committed Mar 9, 2023
1 parent 8cc0b09 commit 1bec76e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lowcode/view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 1bec76e

Please sign in to comment.