@justai/cuts 0.129.2 → 0.129.3
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.
- package/package.json +1 -1
- package/src/Preroll.astro +5 -1
package/package.json
CHANGED
package/src/Preroll.astro
CHANGED
|
@@ -364,7 +364,11 @@ const safeId = "game-" + (id.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/
|
|
|
364
364
|
* container, and layout containment makes it the containing block for FIXED descendants too — a
|
|
365
365
|
* fixed overlay written inside it would be clipped to the frame it is meant to surround. */
|
|
366
366
|
html[data-stage="playing"] { overflow: hidden; }
|
|
367
|
-
|
|
367
|
+
/* The kernel that holds a preroll rides above the room PERMANENTLY, not only while playing: the
|
|
368
|
+
* raise used to follow data-stage, so pausing dropped the kernel in one frame while the dim took
|
|
369
|
+
* half a second to fade - and every pause put a brief wave of darkness across the game itself.
|
|
370
|
+
* Static costs nothing (the room is transparent outside playing) and cannot mistime. */
|
|
371
|
+
.cut.kernel:has(#pr) { position: relative; z-index: 35; }
|
|
368
372
|
.pr-room {
|
|
369
373
|
position: fixed; inset: 0; z-index: 30;
|
|
370
374
|
background: #05070d; opacity: 0; pointer-events: none;
|