Skip to content

Commit

Permalink
fix(mind): remove branchColor property setting
Browse files Browse the repository at this point in the history
pubuzhixing8 committed Dec 6, 2024
1 parent b74abc1 commit cd4689c
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -197,18 +197,6 @@ export const PopupToolbar: React.FC<PopupToolbarProps> = ({}) => {
getMemorizeKey,
}
);
const selectedElements = getSelectedElements(board);

if (selectedElements.length) {
selectedElements.forEach((element) => {
const path = PlaitBoard.findPath(board, element);
Transforms.setNode(
board,
{ branchColor: getColorPropertyValue(selectedColor) },
path
);
});
}
}}
>
<label

0 comments on commit cd4689c

Please sign in to comment.