提交 fdd4797c 编写于 作者: S Sandeep Somavarapu

💄

上级 918e4933
......@@ -248,15 +248,14 @@ export class CompositeBar extends Widget implements ICompositeBar {
}
public move(compositeId: string, toCompositeId: string): void {
this.model.move(compositeId, toCompositeId);
// timeout helps to prevent artifacts from showing up
setTimeout(() => {
this.updateCompositeSwitcher();
// Persist
this.saveCompositeItems();
}, 0);
if (this.model.move(compositeId, toCompositeId)) {
// timeout helps to prevent artifacts from showing up
setTimeout(() => {
this.updateCompositeSwitcher();
// Persist
this.saveCompositeItems();
}, 0);
}
}
public getAction(compositeId): ActivityAction {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册