@clypra-studio/engine 1.0.1 → 1.0.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/dist/index.js CHANGED
@@ -144,7 +144,7 @@ import {
144
144
  searchEffects,
145
145
  searchEffectsForApi,
146
146
  withContext
147
- } from "./chunk-2VGI6ZB7.js";
147
+ } from "./chunk-LT3HTJ3X.js";
148
148
  import {
149
149
  ColorAdjustmentsEffect,
150
150
  PixiRenderBackend,
@@ -2281,7 +2281,14 @@ var PixiRenderer = class {
2281
2281
  // WebGL for production stability; swap to 'webgpu' later
2282
2282
  resolution: typeof window !== "undefined" ? window.devicePixelRatio || 1 : 1,
2283
2283
  autoDensity: true,
2284
- preserveDrawingBuffer: true
2284
+ preserveDrawingBuffer: true,
2285
+ // CRITICAL: disable the auto-render ticker.
2286
+ // The compositor calls renderer.render() at the END of every composeFrame(),
2287
+ // after all sprite states are finalized. If Pixi's own ticker fires between
2288
+ // beginTextFrame() (which hides all sprites) and the awaited
2289
+ // renderTextLayerBridged() / renderStickerLayerBridged() calls that re-show
2290
+ // them, it renders a fully-invisible frame → visible blink of text and stickers.
2291
+ autoStart: false
2285
2292
  });
2286
2293
  } catch (e) {
2287
2294
  this.initializing = false;