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
346a490f
Commit
346a490f
authored
May 09, 2014
by
Akikonata
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
undo bug fix
parent
02cb6e78
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
kity
kity
+1
-1
layout.js
src/module/layout.js
+4
-0
No files found.
kity
@
256dce28
Subproject commit
d4e00b314db4116a92583114bcb67ff9a3c4d48d
Subproject commit
256dce28fb1e574b18f0dd084f7503cbc25e2a80
src/module/layout.js
View file @
346a490f
...
@@ -41,9 +41,13 @@ KityMinder.registerModule( "LayoutModule", function () {
...
@@ -41,9 +41,13 @@ KityMinder.registerModule( "LayoutModule", function () {
initStyle
:
function
()
{
initStyle
:
function
()
{
var
curStyle
=
this
.
getCurrentStyle
();
var
curStyle
=
this
.
getCurrentStyle
();
this
.
_rc
.
remove
();
this
.
_rc
.
remove
();
var
transform
=
this
.
_rc
.
transform
;
this
.
_rc
=
new
kity
.
Group
();
this
.
_rc
=
new
kity
.
Group
();
this
.
_paper
.
addShape
(
this
.
_rc
);
this
.
_paper
.
addShape
(
this
.
_rc
);
this
.
_rc
.
transform
=
transform
;
this
.
_rc
.
_applyTransform
();
var
_root
=
this
.
getRoot
();
var
_root
=
this
.
getRoot
();
_root
.
preTraverse
(
function
(
n
)
{
_root
.
preTraverse
(
function
(
n
)
{
n
.
clearLayout
();
n
.
clearLayout
();
...
...
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