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
7b0811c0
Commit
7b0811c0
authored
Jan 08, 2014
by
Akikonata
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed size
parent
67910f0b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
dev.html
demo/dev.html
+1
-1
layout.js
src/module/layout.js
+1
-1
render.js
src/module/render.js
+1
-1
No files found.
demo/dev.html
View file @
7b0811c0
...
...
@@ -22,7 +22,7 @@
stroke
:
"orange"
,
color
:
"black"
,
padding
:[
10
,
10
,
10
,
10
],
fontSize
:
2
0
fontSize
:
3
0
});
_root
.
setData
(
"x"
,
minderWidth
/
2
);
_root
.
setData
(
"y"
,
minderHeight
/
2
);
...
...
src/module/layout.js
View file @
7b0811c0
KityMinder
.
registerModule
(
"LayoutModule"
,
function
()
{
var
defaultHeight
=
2
5
;
var
defaultHeight
=
3
5
;
var
isOdd
=
function
(
num
)
{
return
num
%
2
!==
0
;
...
...
src/module/render.js
View file @
7b0811c0
...
...
@@ -24,7 +24,7 @@ KityMinder.registerModule( "RenderModule", function () {
stroke
:
"orange"
,
color
:
"black"
,
padding
:
[
5
,
10
,
5
,
10
],
fontSize
:
14
,
fontSize
:
20
,
};
var
kR
=
node
.
getRenderContainer
();
var
nodeShape
=
kR
.
nodeShape
=
kR
.
nodeShape
||
new
MinderNodeShape
(
kR
);
...
...
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