feat: Update point click handling to prevent event propagation; enhance data structure in undo/redo handlers for improved state management

This commit is contained in:
2025-07-31 10:27:07 +05:30
parent d6f8a29b83
commit 3cfde617cc
3 changed files with 4 additions and 3 deletions

View File

@@ -631,7 +631,8 @@ function Point({ point }: { readonly point: Point }) {
uuid={point.pointUuid}
name={`${point.pointType}-Point`}
position={[...point.position]}
onClick={() => {
onClick={(e) => {
e.stopPropagation();
handlePointClick(point);
}}
onPointerOver={(e) => {