Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kityminder-core
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
吴志俊
kityminder-core
Commits
2407e80b
Commit
2407e80b
authored
Feb 19, 2014
by
techird
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
selection clear event
parent
a69442eb
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
kity
kity
+1
-1
hand.js
src/adapter/hand.js
+6
-0
minder.select.js
src/core/minder.select.js
+1
-0
No files found.
kity
@
df7b361a
Subproject commit
7c0498012df602619a38e6b88785a486cd92396d
Subproject commit
df7b361ae5098710eca0fec1080dce4bc822bf24
src/adapter/hand.js
View file @
2407e80b
...
...
@@ -66,6 +66,12 @@ KM.registerUI( 'hand zoom-in zoom-out',
e
.
stopPropagation
();
}
}
);
me
.
on
(
'keyup'
,
function
(
e
)
{
if
(
e
.
keyCode
==
keymap
.
Space
&&
me
.
getSelectedNodes
().
length
==
0
)
{
$btn
.
click
();
e
.
preventDefault
();
}
});
kity
.
extendClass
(
kity
.
Paper
,
kity
.
Draggable
);
break
;
case
'zoom-in'
:
...
...
src/core/minder.select.js
View file @
2407e80b
...
...
@@ -26,6 +26,7 @@ kity.extendClass( Minder, function () {
unhighlightNode
(
me
,
n
);
}
);
this
.
_selectedNodes
=
[];
return
this
.
fire
(
'selectionclear'
);
},
removeSelectedNodes
:
function
(
nodes
)
{
var
me
=
this
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment