Fixed transform animation bug, @jroper
This commit is contained in:
parent
b6cc7248ac
commit
5423c26bf8
File diff suppressed because one or more lines are too long
|
|
@ -1,10 +1,10 @@
|
|||
// ┌─────────────────────────────────────────────────────────────────────┐ \\
|
||||
// │ "Raphaël 2.1.0" - JavaScript Vector Library │ \\
|
||||
// ├─────────────────────────────────────────────────────────────────────┤ \\
|
||||
// │ Copyright (c) 2008-2011 Dmitry Baranovskiy (http://raphaeljs.com) │ \\
|
||||
// │ Copyright (c) 2008-2011 Sencha Labs (http://sencha.com) │ \\
|
||||
// │ Licensed under the MIT (http://raphaeljs.com/license.html) license. │ \\
|
||||
// └─────────────────────────────────────────────────────────────────────┘ \\
|
||||
// ??????????????????????????????????????????????????????????????????????? \\
|
||||
// ? "Raphaël 2.1.0" - JavaScript Vector Library ? \\
|
||||
// ??????????????????????????????????????????????????????????????????????? \\
|
||||
// ? Copyright (c) 2008-2011 Dmitry Baranovskiy (http://raphaeljs.com) ? \\
|
||||
// ? Copyright (c) 2008-2011 Sencha Labs (http://sencha.com) ? \\
|
||||
// ? Licensed under the MIT (http://raphaeljs.com/license.html) license. ? \\
|
||||
// ??????????????????????????????????????????????????????????????????????? \\
|
||||
(function (glob, factory) {
|
||||
// AMD support
|
||||
if (typeof define === "function" && define.amd) {
|
||||
|
|
@ -819,7 +819,7 @@
|
|||
return {h: H, s: S, l: L, toString: hsltoString};
|
||||
};
|
||||
R._path2string = function () {
|
||||
return this.join(",").replace(p2s, "$1");
|
||||
return Array.prototype.join(",").replace(p2s, "$1");
|
||||
};
|
||||
function repush(array, item) {
|
||||
for (var i = 0, ii = array.length; i < ii; i++) if (array[i] === item) {
|
||||
|
|
@ -4868,6 +4868,7 @@
|
|||
item = this.items[--i].animate(anim);
|
||||
while (i--) {
|
||||
this.items[i] && !this.items[i].removed && this.items[i].animateWith(item, anim, anim);
|
||||
(this.items[i] && !this.items[i].removed) || len--;
|
||||
}
|
||||
return this;
|
||||
};
|
||||
|
|
|
|||
17
raphael.js
17
raphael.js
|
|
@ -377,13 +377,13 @@
|
|||
};
|
||||
(typeof module != "undefined" && module.exports) ? (module.exports = eve) : (typeof define != "undefined" ? (define("eve", [], function() { return eve; })) : (glob.eve = eve));
|
||||
})(this);
|
||||
// ┌─────────────────────────────────────────────────────────────────────┐ \\
|
||||
// │ "Raphaël 2.1.0" - JavaScript Vector Library │ \\
|
||||
// ├─────────────────────────────────────────────────────────────────────┤ \\
|
||||
// │ Copyright (c) 2008-2011 Dmitry Baranovskiy (http://raphaeljs.com) │ \\
|
||||
// │ Copyright (c) 2008-2011 Sencha Labs (http://sencha.com) │ \\
|
||||
// │ Licensed under the MIT (http://raphaeljs.com/license.html) license. │ \\
|
||||
// └─────────────────────────────────────────────────────────────────────┘ \\
|
||||
// ??????????????????????????????????????????????????????????????????????? \\
|
||||
// ? "Raphaël 2.1.0" - JavaScript Vector Library ? \\
|
||||
// ??????????????????????????????????????????????????????????????????????? \\
|
||||
// ? Copyright (c) 2008-2011 Dmitry Baranovskiy (http://raphaeljs.com) ? \\
|
||||
// ? Copyright (c) 2008-2011 Sencha Labs (http://sencha.com) ? \\
|
||||
// ? Licensed under the MIT (http://raphaeljs.com/license.html) license. ? \\
|
||||
// ??????????????????????????????????????????????????????????????????????? \\
|
||||
(function (glob, factory) {
|
||||
// AMD support
|
||||
if (typeof define === "function" && define.amd) {
|
||||
|
|
@ -1198,7 +1198,7 @@
|
|||
return {h: H, s: S, l: L, toString: hsltoString};
|
||||
};
|
||||
R._path2string = function () {
|
||||
return this.join(",").replace(p2s, "$1");
|
||||
return Array.prototype.join(",").replace(p2s, "$1");
|
||||
};
|
||||
function repush(array, item) {
|
||||
for (var i = 0, ii = array.length; i < ii; i++) if (array[i] === item) {
|
||||
|
|
@ -5247,6 +5247,7 @@
|
|||
item = this.items[--i].animate(anim);
|
||||
while (i--) {
|
||||
this.items[i] && !this.items[i].removed && this.items[i].animateWith(item, anim, anim);
|
||||
(this.items[i] && !this.items[i].removed) || len--;
|
||||
}
|
||||
return this;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue