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
6074b46a
Commit
6074b46a
authored
Jul 04, 2014
by
techird
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
缩放恢复后保持清晰状态
parent
49821b86
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
index.html
index.html
+2
-2
zoom.js
src/module/zoom.js
+4
-0
No files found.
index.html
View file @
6074b46a
...
...
@@ -2,8 +2,8 @@
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"title"
content=
"百度脑图"
>
<meta
name=
"keyword"
content=
"
脑
图,kity,svg,minder,百度,fex,前端,在线"
>
<meta
name=
"title"
content=
"百度脑图
(KityMinder)
"
>
<meta
name=
"keyword"
content=
"
kityminder,脑图,思维导
图,kity,svg,minder,百度,fex,前端,在线"
>
<meta
name=
"description"
content=
"百度脑图,便捷的脑图编辑工具。让您在线上直接创建、保存并分享你的思路。"
>
<script
src=
"lib/jquery-2.1.0.min.js"
charset=
"utf-8"
></script>
...
...
src/module/zoom.js
View file @
6074b46a
...
...
@@ -16,6 +16,10 @@ KityMinder.registerModule('Zoom', function() {
finishValue
:
zoom
/
100
,
setter
:
function
(
target
,
value
)
{
viewport
.
zoom
=
value
;
viewport
.
center
=
{
x
:
viewport
.
center
.
x
|
0
+
0.5
,
y
:
viewport
.
center
.
y
|
0
+
0.5
};
target
.
setViewPort
(
viewport
);
}
});
...
...
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