@ywkrlerche/richardwho 1.0.40 → 1.0.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/app.js +6 -1
  2. package/package.json +1 -1
  3. package/style.css +9 -6
package/app.js CHANGED
@@ -836,6 +836,8 @@
836
836
  // Newest first. Add an entry here with every publish; its version should match package.json.
837
837
  // Each has: new (features), games (added/removed/fixed games), fixes (bugs). Leave a list out if empty.
838
838
  const CHANGELOG = [
839
+ { version: "1.0.41", date: "2026-11-03",
840
+ new: [], fixes: ["Fixed the page turning white after a while (mostly on Chromebooks), like in the chat"] },
839
841
  { version: "1.0.40", date: "2026-10-30",
840
842
  new: ["Send videos in chat: from your computer (📷) or record one with the camera (📸)", "Voice notes in chat (🎤)", "🔊 Soundboard: Kawhi Leonard's laugh, and sort by Popular or My most used", "🎉 Holiday themes switch by themselves: New Year's, Valentine's Day, St. Patrick's Day, Easter, Fourth of July, Halloween, Thanksgiving and Christmas", "🎨 Theme setting is now Holiday, Black or White", "❄️ Christmas: snow you can push around and click, and a snowman"],
841
843
  fixes: ["The home page is cleaner and fits small Chromebook screens", "Animated stickers were removed", "The Christmas lights are no longer hidden behind the quote of the day"] },
@@ -1707,7 +1709,10 @@
1707
1709
  return n.error || n.name.toLowerCase() === ADMIN_NAME.toLowerCase() ? null : n.name;
1708
1710
  }
1709
1711
  function startTypingWatch(db) {
1710
- db.ref(".info/serverTimeOffset").on("value", (s) => { typing.offset = s.val() || 0; });
1712
+ if (!typing.offsetWatched) { // once: this runs again on every reconnect and room switch
1713
+ typing.offsetWatched = true;
1714
+ db.ref(".info/serverTimeOffset").on("value", (s) => { typing.offset = s.val() || 0; });
1715
+ }
1711
1716
  typing.watchRef?.off();
1712
1717
  typing.others = {};
1713
1718
  typing.watchRef = db.ref(roomPath("typing"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ywkrlerche/richardwho",
3
- "version": "1.0.40",
3
+ "version": "1.0.41",
4
4
  "description": "Richards Unblocked Games",
5
5
  "license": "UNLICENSED",
6
6
  "files": [
package/style.css CHANGED
@@ -39,6 +39,7 @@
39
39
 
40
40
  * { box-sizing: border-box; }
41
41
  html, body { margin: 0; }
42
+ html { background: var(--bg); }
42
43
  body {
43
44
  min-height: 100vh; background: var(--bg); color: var(--text);
44
45
  font: 15px/1.45 var(--font); overflow-x: hidden;
@@ -700,11 +701,12 @@ html.halloween[data-theme="dark"] {
700
701
  --shine: #fdba74;
701
702
  --glow-cyan: #fb923c;
702
703
  }
703
- html.halloween[data-theme="dark"] body { background: linear-gradient(180deg, #110820 0%, #0b0613 45%, #070409 100%) fixed; }
704
+ html.halloween[data-theme="dark"], html.halloween[data-theme="dark"] body { background: #0b0613; }
704
705
  html.halloween[data-theme="dark"] .aurora {
705
706
  background:
706
707
  radial-gradient(50vw 30vh at 30vw 0, rgba(109, 40, 217, .18), transparent 70%),
707
- radial-gradient(60vw 24vh at 50vw 100vh, rgba(234, 88, 12, .07), transparent 70%);
708
+ radial-gradient(60vw 24vh at 50vw 100vh, rgba(234, 88, 12, .07), transparent 70%),
709
+ linear-gradient(180deg, #110820 0%, #0b0613 45%, #070409 100%);
708
710
  }
709
711
  /* the usual logo (same font, shine and hover), in cream with an orange-and-white shine */
710
712
  html.halloween[data-theme="dark"] .wordmark {
@@ -790,11 +792,12 @@ html.rail-peek .rail-show { display: none; }
790
792
 
791
793
  /* ---------- Christmas (December, or picked in Settings): snow, lights, pines ---------- */
792
794
  html.christmas[data-theme="dark"] { --shine: #fca5a5; --glow-cyan: #f87171; }
793
- html.christmas[data-theme="dark"] body { background: linear-gradient(180deg, #0b1424 0%, #08101c 50%, #060a12 100%) fixed; }
795
+ html.christmas[data-theme="dark"], html.christmas[data-theme="dark"] body { background: #08101c; }
794
796
  html.christmas[data-theme="dark"] .aurora {
795
797
  background:
796
798
  radial-gradient(45vw 26vh at 25vw 0, rgba(220, 38, 38, .12), transparent 70%),
797
- radial-gradient(45vw 26vh at 80vw 10vh, rgba(22, 163, 74, .12), transparent 70%);
799
+ radial-gradient(45vw 26vh at 80vw 10vh, rgba(22, 163, 74, .12), transparent 70%),
800
+ linear-gradient(180deg, #0b1424 0%, #08101c 50%, #060a12 100%);
798
801
  }
799
802
  html.christmas[data-theme="dark"] .wordmark {
800
803
  background-image:
@@ -1019,8 +1022,8 @@ html.easter { --f-bg: #160f24; --f-bg2: #0b0814; --f-a: #c4b5fd; --f-b: #f9a8d4;
1019
1022
  html.july4 { --f-bg: #070b1f; --f-bg2: #03050f; --f-a: #ef4444; --f-b: #60a5fa; --f-cream: #f8fafc; --f-glow1: rgba(239, 68, 68, .13); --f-glow2: rgba(59, 130, 246, .15); --f-on: #fff; --f-hill: #0d1330; }
1020
1023
  html.thanksgiving { --f-bg: #1a0f06; --f-bg2: #0c0703; --f-a: #f59e0b; --f-b: #ea580c; --f-cream: #fdf1dc; --f-glow1: rgba(245, 158, 11, .13); --f-glow2: rgba(180, 83, 9, .12); --f-on: #1f1203; --f-hill: #24160a; }
1021
1024
  html.fest[data-theme="dark"] { --shine: var(--f-b); --glow-cyan: var(--f-a); }
1022
- html.fest[data-theme="dark"] body { background: linear-gradient(180deg, var(--f-bg) 0%, var(--f-bg2) 100%) fixed; }
1023
- html.fest[data-theme="dark"] .aurora { background: radial-gradient(45vw 26vh at 25vw 0, var(--f-glow1), transparent 70%), radial-gradient(45vw 26vh at 80vw 10vh, var(--f-glow2), transparent 70%); }
1025
+ html.fest[data-theme="dark"], html.fest[data-theme="dark"] body { background: var(--f-bg2); }
1026
+ html.fest[data-theme="dark"] .aurora { background: radial-gradient(45vw 26vh at 25vw 0, var(--f-glow1), transparent 70%), radial-gradient(45vw 26vh at 80vw 10vh, var(--f-glow2), transparent 70%), linear-gradient(180deg, var(--f-bg) 0%, var(--f-bg2) 100%); }
1024
1027
  html.fest[data-theme="dark"] .wordmark {
1025
1028
  background-image:
1026
1029
  radial-gradient(circle var(--spot, 0px) at var(--mx, 50%) var(--my, 50%), #fff, transparent 70%),