Fix:重新加上因新功能而丢失的旧功能:新创建的节点默认全选
This commit is contained in:
parent
de025d9bc7
commit
0b3d2cedbd
@ -30,8 +30,8 @@ export default class TextEdit {
|
|||||||
this.onScale = this.onScale.bind(this)
|
this.onScale = this.onScale.bind(this)
|
||||||
this.onKeydown = this.onKeydown.bind(this)
|
this.onKeydown = this.onKeydown.bind(this)
|
||||||
// 节点双击事件
|
// 节点双击事件
|
||||||
this.mindMap.on('node_dblclick', node => {
|
this.mindMap.on('node_dblclick', (node, e, isInserting) => {
|
||||||
this.show({ node })
|
this.show({ node, e, isInserting })
|
||||||
})
|
})
|
||||||
// 点击事件
|
// 点击事件
|
||||||
this.mindMap.on('draw_click', () => {
|
this.mindMap.on('draw_click', () => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user