From 24df9d3b006a8daf795ada677bfd0159e3ccc3f5 Mon Sep 17 00:00:00 2001 From: Hufe921 Date: Fri, 5 Jul 2024 21:21:59 +0800 Subject: [PATCH] fix: set control highlight and re render #678 --- src/editor/core/command/CommandAdapt.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/editor/core/command/CommandAdapt.ts b/src/editor/core/command/CommandAdapt.ts index 4cdd86a..ced065a 100644 --- a/src/editor/core/command/CommandAdapt.ts +++ b/src/editor/core/command/CommandAdapt.ts @@ -2484,6 +2484,9 @@ export class CommandAdapt { public setControlHighlight(payload: ISetControlHighlightOption) { this.draw.getControl().setHighlightList(payload) + this.draw.render({ + isSubmitHistory: false + }) } public updateOptions(payload: IUpdateOption) {