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
973140e3
Commit
973140e3
authored
Jul 08, 2014
by
techird
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化缩放效果
parent
08f6a8dd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
kity
kity
+1
-1
zoom.js
src/module/zoom.js
+2
-4
No files found.
kity
@
47c11b5d
Subproject commit
5a3fc4422c0d3f1c2d812dd810d8ae7693fa3c93
Subproject commit
47c11b5d7977c81df1c2f1d779933d38ac6edb0e
src/module/zoom.js
View file @
973140e3
...
...
@@ -22,7 +22,7 @@ KityMinder.registerModule('Zoom', function() {
y
:
viewport
.
center
.
y
};
paper
.
setViewPort
(
viewport
);
fixPaperCTM
(
paper
);
if
(
value
==
100
)
fixPaperCTM
(
paper
);
}
});
...
...
@@ -43,9 +43,7 @@ KityMinder.registerModule('Zoom', function() {
if
(
timeline
)
{
timeline
.
pause
();
}
timeline
=
animator
.
start
(
minder
,
100
,
'ease'
,
function
()
{
minder
.
refresh
(
100
);
});
timeline
=
animator
.
start
(
minder
,
300
,
'easeInOutSine'
);
}
var
ZoomCommand
=
kity
.
createClass
(
'Zoom'
,
{
...
...
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