Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
Remove duplicate key in options from sprite context
Browse files Browse the repository at this point in the history
  • Loading branch information
Guilherme Paixão committed Oct 28, 2016
1 parent c20447b commit 84adb5b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
7 changes: 3 additions & 4 deletions dist/origami.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* Date: 2016-10-27T16:13Z
* Date: 2016-10-28T12:52Z
*/

(function( window ) {
Expand Down Expand Up @@ -765,6 +765,7 @@ function SpriteShape(params) {
image: params.image,
posX: (properties.currentFrame > 0 && properties.currentFrame <= properties.frames ? (dw *(properties.currentFrame -1)) : 0),
posY: 0,
animation: properties.animation,
frame: properties.frames,
loop: properties.loop,
width: dw,
Expand All @@ -773,9 +774,7 @@ function SpriteShape(params) {
dx: params.x,
dy: params.y,
speed: properties.speed,
update: null,
animation: properties.animation,
loop: properties.loop
update: null
});
}

Expand Down
2 changes: 1 addition & 1 deletion dist/origami.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 84adb5b

Please sign in to comment.