Commit abe61d73 authored by zhangbobell's avatar zhangbobell

fix(core): fixed some small bugs

parent f82afcee
...@@ -243,7 +243,7 @@ define(function(require, exports, module) { ...@@ -243,7 +243,7 @@ define(function(require, exports, module) {
}, },
getCommonAncestor: function(node) { getCommonAncestor: function(node) {
return MinderNode.getNodeCommonAncestor(this, node); return MinderNode.getCommonAncestor(this, node);
}, },
contains: function(node) { contains: function(node) {
......
...@@ -152,6 +152,9 @@ define(function(require, exports, module) { ...@@ -152,6 +152,9 @@ define(function(require, exports, module) {
renderer.getRenderShape().setVisible(false); renderer.getRenderShape().setVisible(false);
lastBoxes[j] = null; lastBoxes[j] = null;
} }
// 更新 render 的 contentBox
renderer.contentBox = lastBoxes[j];
} }
} }
......
...@@ -30,7 +30,7 @@ define(function(require, exports, module) { ...@@ -30,7 +30,7 @@ define(function(require, exports, module) {
var PRIORITY_DATA = 'priority'; var PRIORITY_DATA = 'priority';
// 进度图标的图形 // 优先级图标的图形
var PriorityIcon = kity.createClass('PriorityIcon', { var PriorityIcon = kity.createClass('PriorityIcon', {
base: kity.Group, base: kity.Group,
......
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