Commit 02674827 authored by techird's avatar techird

键盘导航问题修复

parent ef8365bc
......@@ -4,10 +4,10 @@ KityMinder.registerModule( "KeyboardModule", function () {
var pointIndexes = [],
p;
root.traverse( function ( node ) {
p = node.getData( 'point' );
p = node.getRenderContainer().getRenderBox( 'top' );
pointIndexes.push( {
x: p.x,
y: p.y,
x: p.x + p.width / 2,
y: p.y + p.height / 2,
node: node
} );
} );
......
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