diff --git a/packages/mindplot/src/components/Topic.ts b/packages/mindplot/src/components/Topic.ts index a0a921dd..1874917f 100644 --- a/packages/mindplot/src/components/Topic.ts +++ b/packages/mindplot/src/components/Topic.ts @@ -934,10 +934,13 @@ abstract class Topic extends NodeGraph { } setOrder(value: number): void { + const changed = this.getModel().getOrder() !== value; const model = this.getModel(); model.setOrder(value); - this.redraw(); + if (changed) { + this.redraw(); + } } connectTo(targetTopic: Topic, canvas: Canvas): void {