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
3a6e745e
Commit
3a6e745e
authored
Jul 24, 2014
by
techird
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix connect update issue
parent
fa3cf5b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
layout.js
src/core/layout.js
+10
-0
expand.js
src/module/expand.js
+1
-1
No files found.
src/core/layout.js
View file @
3a6e745e
...
...
@@ -254,6 +254,16 @@ kity.extendClass(Minder, {
matrix
:
matrix
});
}
}
else
{
// 可能位置没有改变,但是相关布局变量变了
me
.
fire
(
'layoutapply'
,
{
node
:
node
,
matrix
:
matrix
});
me
.
fire
(
'layoutfinish'
,
{
node
:
node
,
matrix
:
matrix
});
}
for
(
var
i
=
0
;
i
<
node
.
children
.
length
;
i
++
)
{
...
...
src/module/expand.js
View file @
3a6e745e
...
...
@@ -177,7 +177,7 @@ KityMinder.registerModule('Expand', function() {
var
pathData
=
[
'M'
,
1.5
-
this
.
radius
,
0
,
'L'
,
this
.
radius
-
1.5
,
0
];
if
(
state
==
STATE_COLLAPSE
)
{
pathData
.
push
([
'M'
,
0
,
1.5
-
this
.
radius
,
'L'
,
0
,
this
.
radius
-
1.5
]);
}
}
this
.
sign
.
setPathData
(
pathData
);
}
});
...
...
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