Skip to content

Commit

Permalink
3.22.5
Browse files Browse the repository at this point in the history
  • Loading branch information
quinton-ashley committed May 12, 2024
1 parent e3c789f commit 516382d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion p5play.js
Expand Up @@ -638,7 +638,8 @@ p5.prototype.registerMethod('init', function p5playInit() {
let ts = this.tileSize;

if (this._img || ani instanceof p5.Image) {
this.image = new $.EmojiImage(ani, w);
if (typeof ani != 'string') this.image = ani;
else this.image = new $.EmojiImage(ani, w);

if (!w && (this._img.w != 1 || this._img.h != 1)) {
w = this._img.w / ts;
Expand Down
2 changes: 1 addition & 1 deletion p5play.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -49,5 +49,5 @@
"version": "git add -A",
"postversion": "git push"
},
"version": "3.22.4"
"version": "3.22.5"
}

0 comments on commit 516382d

Please sign in to comment.