Skip to content

Commit abe61d7

Browse files
committed
fix(core): fixed some small bugs
1 parent f82afce commit abe61d7

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

src/core/node.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ define(function(require, exports, module) {
243243
},
244244

245245
getCommonAncestor: function(node) {
246-
return MinderNode.getNodeCommonAncestor(this, node);
246+
return MinderNode.getCommonAncestor(this, node);
247247
},
248248

249249
contains: function(node) {

src/core/render.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,9 @@ define(function(require, exports, module) {
152152
renderer.getRenderShape().setVisible(false);
153153
lastBoxes[j] = null;
154154
}
155+
156+
// 更新 render 的 contentBox
157+
renderer.contentBox = lastBoxes[j];
155158
}
156159
}
157160

src/module/priority.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ define(function(require, exports, module) {
3030

3131
var PRIORITY_DATA = 'priority';
3232

33-
// 进度图标的图形
33+
// 优先级图标的图形
3434
var PriorityIcon = kity.createClass('PriorityIcon', {
3535
base: kity.Group,
3636

0 commit comments

Comments
 (0)