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
4305a492
Commit
4305a492
authored
May 04, 2014
by
Akikonata
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change level
parent
658a0978
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
layout.default.js
src/module/layout.default.js
+3
-4
layout.js
src/module/layout.js
+4
-4
No files found.
src/module/layout.default.js
View file @
4305a492
...
...
@@ -33,7 +33,6 @@ KityMinder.registerModule( "LayoutDefault", function () {
minder
.
getRenderContainer
().
addShape
(
iconShape
);
iconShape
.
addShapes
(
[
circle
,
plus
,
dec
]
);
this
.
update
();
//this.switchState();
},
switchState
:
function
()
{
if
(
!
this
.
_show
)
{
...
...
@@ -554,9 +553,9 @@ KityMinder.registerModule( "LayoutDefault", function () {
return
items
;
}
)();
next
=
[];
var
layer_nolimit
=
(
expand_layer
<
1
)
||
(
!
expand_layer
)
||
false
;
//
debugger;
var
sub_nolimit
=
(
expandoptions
.
sub
<
0
)
||
false
;
var
layer_nolimit
=
(
expand_layer
<
1
)
||
(
!
expand_layer
)
||
false
;
debugger
;
var
sub_nolimit
=
(
expandoptions
.
sub
<
1
)
||
false
;
var
loopcontinue
=
function
()
{
return
(
layer_nolimit
?
(
_buffer
.
length
!==
0
)
:
(
_buffer
.
length
!==
0
&&
cur_layer
<
expand_layer
)
);
};
...
...
src/module/layout.js
View file @
4305a492
...
...
@@ -251,10 +251,10 @@ KityMinder.registerModule( "LayoutModule", function () {
'appendchildnode'
:
'appendchildnode'
,
'removenode'
:
'removenode'
},
expand
:
{
layer
:
0
,
sub
:
0
}
expand
:
{
layer
:
0
,
sub
:
0
}
}
};
}
);
\ No newline at end of file
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