Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
殷洪(管理员)
/
raphael
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
dfe115a9
authored
Oct 21, 2008
by
Dmitry Baranovskiy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Quick fix of gradient bug
parent
cf76de4f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
raphael-packed.js
+0
-0
raphael.js
+2
-1
No files found.
raphael-packed.js
View file @
dfe115a9
This diff is collapsed.
Click to expand it.
raphael.js
View file @
dfe115a9
...
@@ -1069,6 +1069,7 @@ var Raphael = (function (type) {
...
@@ -1069,6 +1069,7 @@ var Raphael = (function (type) {
ScaleY
=
1
,
ScaleY
=
1
,
tMatrix
=
null
;
tMatrix
=
null
;
this
[
0
]
=
node
;
this
[
0
]
=
node
;
this
.
svg
=
svg
;
this
.
attrs
=
this
.
attrs
||
{};
this
.
attrs
=
this
.
attrs
||
{};
this
.
transformations
=
[];
// rotate, translate, scale, matrix
this
.
transformations
=
[];
// rotate, translate, scale, matrix
this
.
rotate
=
function
(
deg
)
{
this
.
rotate
=
function
(
deg
)
{
...
@@ -1214,7 +1215,7 @@ var Raphael = (function (type) {
...
@@ -1214,7 +1215,7 @@ var Raphael = (function (type) {
}
}
if
(
params
.
gradient
)
{
if
(
params
.
gradient
)
{
this
.
attrs
.
gradient
=
params
.
gradient
;
this
.
attrs
.
gradient
=
params
.
gradient
;
addGrdientFill
(
this
[
0
],
params
.
gradient
,
svg
);
addGrdientFill
(
this
[
0
],
params
.
gradient
,
this
.
svg
);
}
}
}
}
return
this
;
return
this
;
...
...
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