Skip to content

Commit

Permalink
3.20.11
Browse files Browse the repository at this point in the history
  • Loading branch information
quinton-ashley committed Apr 5, 2024
1 parent 2cf2302 commit 1b8f608
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion p5play.js
Original file line number Diff line number Diff line change
Expand Up @@ -10277,6 +10277,12 @@ main {
let tmp = this[indexA];
this[indexA] = this[indexB];
this[indexB] = tmp;
if (indexA == 0 || indexB == 0) {
$.contro = this[0];
if (!$._q5 && $._isGlobal) {
window.contro = this[0];
}
}
}

/**
Expand Down Expand Up @@ -10349,7 +10355,7 @@ main {
this[index] = c;
if (index == 0) {
$.contro = c;
if ($._isGlobal) window.contro = c;
if (!$._q5 && $._isGlobal) window.contro = c;
}
}
}
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
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@
"version": "git add -A",
"postversion": "git push"
},
"version": "3.20.10"
"version": "3.20.11"
}

0 comments on commit 1b8f608

Please sign in to comment.