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
2084f398
Commit
2084f398
authored
Feb 19, 2014
by
techird
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
https://github.com/kitygraph/kityminder
into dev
parents
2407e80b
fedca98b
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
218 deletions
+50
-218
layout.bottom.js
src/module/layout.bottom.js
+47
-216
layout.default.js
src/module/layout.default.js
+1
-1
markers.css
themes/default/_css/markers.css
+2
-1
No files found.
src/module/layout.bottom.js
View file @
2084f398
This diff is collapsed.
Click to expand it.
src/module/layout.default.js
View file @
2084f398
...
@@ -219,7 +219,7 @@ KityMinder.registerModule( "LayoutDefault", function () {
...
@@ -219,7 +219,7 @@ KityMinder.registerModule( "LayoutDefault", function () {
}
else
{
}
else
{
if
(
action
===
"append"
||
action
===
"contract"
)
{
if
(
action
===
"append"
||
action
===
"contract"
)
{
Layout
.
branchheight
=
node
.
getRenderContainer
().
getHeight
()
+
nodeStyle
.
margin
[
0
]
+
nodeStyle
.
margin
[
2
];
Layout
.
branchheight
=
node
.
getRenderContainer
().
getHeight
()
+
nodeStyle
.
margin
[
0
]
+
nodeStyle
.
margin
[
2
];
}
else
if
(
action
===
"change"
)
{
//展开
}
else
if
(
action
===
"change"
)
{
Layout
.
branchheight
=
countBranchHeight
(
node
);
Layout
.
branchheight
=
countBranchHeight
(
node
);
}
}
var
parentLayout
=
parent
.
getLayout
();
var
parentLayout
=
parent
.
getLayout
();
...
...
themes/default/_css/markers.css
View file @
2084f398
...
@@ -13,7 +13,8 @@
...
@@ -13,7 +13,8 @@
margin
:
0
;
margin
:
0
;
list-style
:
none
;
list-style
:
none
;
cursor
:
pointer
;
cursor
:
pointer
;
color
:
#333
color
:
#333
;
font-family
:
Arial
,
"Heiti SC"
,
"Microsoft Yahei"
;
}
}
.icon-list
li
:hover
,
.icon-list
li
.active
{
.icon-list
li
:hover
,
.icon-list
li
.active
{
background
:
#cfe0f7
background
:
#cfe0f7
...
...
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