Skip to content

Commit

Permalink
1.12.13
Browse files Browse the repository at this point in the history
  • Loading branch information
quinton-ashley committed Oct 21, 2024
1 parent 032a946 commit ecb47ff
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 7 deletions.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ <h2 id="join-the-community-👾">Join the community 👾</h2>
<a id="discord-brand" href="https://discord.gg/3UTbqUgmPF" target="_blank">
<img id="discord-brand" src="/assets/brands/discord_brand.svg" alt="Discord brand">
</a>
<a id="youtube-brand" href="https://www.youtube.com/@p5play_js/featured" target="_blank">
<a id="youtube-brand" href="https://www.youtube.com/@p5play-game-dev/featured" target="_blank">
<img id="youtube-brand" src="/assets/brands/youtube_brand.svg" alt="YouTube brand">
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion lang/es/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ <h2 id="únete-a-la-comunidad-👾">Únete a la comunidad 👾</h2>
<a id="discord-brand" href="https://discord.gg/3UTbqUgmPF" target="_blank">
<img id="discord-brand" src="/assets/brands/discord_brand.svg" alt="Discord brand">
</a>
<a id="youtube-brand" href="https://www.youtube.com/@p5play_js/featured" target="_blank">
<a id="youtube-brand" href="https://www.youtube.com/@p5play-game-dev/featured" target="_blank">
<img id="youtube-brand" src="/assets/brands/youtube_brand.svg" alt="YouTube brand">
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion lang/ja/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ <h2 id="コミュニティに参加する-👾">コミュニティに参加す
<a id="discord-brand" href="https://discord.gg/3UTbqUgmPF" target="_blank">
<img id="discord-brand" src="/assets/brands/discord_brand.svg" alt="Discord brand">
</a>
<a id="youtube-brand" href="https://www.youtube.com/@p5play_js/featured" target="_blank">
<a id="youtube-brand" href="https://www.youtube.com/@p5play-game-dev/featured" target="_blank">
<img id="youtube-brand" src="/assets/brands/youtube_brand.svg" alt="YouTube brand">
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@
"version": "git add -A",
"postversion": "git push"
},
"version": "1.12.12"
"version": "1.12.13"
}
9 changes: 7 additions & 2 deletions v3/q5.js
Original file line number Diff line number Diff line change
Expand Up @@ -400,9 +400,13 @@ Q5.modules.canvas = ($, q) => {
if ($._scope != 'image') {
if ($._scope == 'graphics') $._pixelDensity = this._pixelDensity;
else if (window.IntersectionObserver) {
$._wasLooping = $._loop;
let wasObserved = false;
new IntersectionObserver((e) => {
c.visible = e[0].isIntersecting;
if (!wasObserved) {
$._wasLooping = $._loop;
wasObserved = true;
}
if (c.visible) {
if ($._wasLooping && !$._loop) $.loop();
} else {
Expand Down Expand Up @@ -1721,7 +1725,8 @@ Q5.modules.ai = ($) => {
parts = parts.split(':');
let lineNum = parseInt(parts.at(-2));
if (askAI) lineNum++;
let fileUrl = parts.slice(0, -2).join(':');
parts[3] = parts[3].split(')')[0];
let fileUrl = parts.slice(0, 2).join(':');
let fileBase = fileUrl.split('/').at(-1);

try {
Expand Down
2 changes: 1 addition & 1 deletion v3/q5.min.js

Large diffs are not rendered by default.

0 comments on commit ecb47ff

Please sign in to comment.