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
7cb181d8
Commit
7cb181d8
authored
Nov 17, 2014
by
techird
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
png export error alert
parent
c1b14b9f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
png.js
src/protocol/png.js
+6
-2
_widgets.less
ui/theme/default/css/_widgets.less
+1
-0
No files found.
src/protocol/png.js
View file @
7cb181d8
...
...
@@ -111,8 +111,12 @@ if (!kity.Browser.ie) {
}
function
generateDataUrl
(
canvas
)
{
try
{
var
url
=
canvas
.
toDataURL
(
'png'
);
return
url
;
}
catch
(
e
)
{
throw
new
Error
(
'当前浏览器版本不支持导出 PNG 功能,请尝试升级到最新版本!'
);
}
}
function
drawSVG
()
{
...
...
ui/theme/default/css/_widgets.less
View file @
7cb181d8
...
...
@@ -14,6 +14,7 @@
textarea {
user-select: text;
}
overflow: hidden;
}
input::-ms-clear {
...
...
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