PR pixi-reels

AdjustPhaseConfig

pixi-reels


pixi-reels / index / AdjustPhaseConfig

Interface: AdjustPhaseConfig

Defined in: spin/phases/AdjustPhase.ts:8

Properties

PropertyTypeDescriptionDefined in
pinOverlaysPinOverlayTween[]Pin overlays on this reel that need to tween from their pre-reshape cell to the post-reshape cell. Populated by SpinController BEFORE the reshape commits. fromY captures each overlay’s on-screen Y at the moment the snapshot was taken, toY is computed from the new geometry. AdjustPhase no longer commits geometry. SpinController._applyReshape does that synchronously before the phase runs. The phase’s only job is the tween.spin/phases/AdjustPhase.ts:20