Skip to content

Commit

Permalink
💩 Add a temporary band-aid for "t.isInteractive is not a function"
Browse files Browse the repository at this point in the history
See pixijs/pixijs#9495 for root issue tracking
  • Loading branch information
CosmoMyzrailGorynych committed Dec 26, 2023
1 parent 26b5062 commit 39ecbe9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ct.release/index.pixi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import {sound as pixiSound, filters as pixiSoundFilters} from 'node_modules/@pix
/* eslint-disable @typescript-eslint/no-explicit-any */
export const PIXI = pixi;
(PIXI as any).particles = particles;
// TODO: remove this band-aid when https://github.com/pixijs/pixijs/issues/9495 closes
PIXI.particles.Particle.prototype.isInteractive = () => false;
(PIXI as any).sound = pixiSound;
(PIXI as any).sound.filters = pixiSoundFilters;
// (PIXI as any).sounds = sounds
Expand Down

0 comments on commit 39ecbe9

Please sign in to comment.