Commit 936b0211 authored by techird's avatar techird

Merge branch 'release-1.2.0' of github.com:fex-team/kityminder into release-1.2.0

parents 360f6aab 03a217a9
...@@ -102,8 +102,9 @@ KityMinder.registerModule("HistoryModule", function() { ...@@ -102,8 +102,9 @@ KityMinder.registerModule("HistoryModule", function() {
if (compareNode(srcNode, tagNode) === false) { if (compareNode(srcNode, tagNode) === false) {
srcNode.setValue(tagNode); srcNode.setValue(tagNode);
srcNode.render();
} }
//todo,这里有性能问题,变成全部render了
srcNode.render();
if (srcNode.isSelected()) { if (srcNode.isSelected()) {
selectedNodes.push(srcNode); selectedNodes.push(srcNode);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment