mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-19 05:11:18 -08:00
Add Activities with Snake and Mini golf to play through a wait, paused whenever it is your turn
AI Assisted
This commit is contained in:
1 parent
720758a7ee
commit
dbd31611b7
17 files changed
+8920
-7
No files matched your search
@@ -515,6 +515,13 @@ export function wireLooks() {
|
||||
const preview = ["question", ...Object.keys(SOUND_EVENTS)].find(soundOn);
|
||||
if (preview) sound(preview);
|
||||
});
|
||||
$("looks-activities").addEventListener("change", (e) => {
|
||||
looks.hideActivities = !e.target.checked;
|
||||
saveLooks();
|
||||
// The die comes and goes with the next render, which also closes an open
|
||||
// Activities window, paused.
|
||||
redraw();
|
||||
});
|
||||
for (const box of document.querySelectorAll("input[data-sound]")) {
|
||||
box.addEventListener("change", () => {
|
||||
const event = box.dataset.sound;
|
||||
|
||||
Reference in new issue
Block a user