UNPKG

@pixi/react

Version:

Write PixiJS applications using React declarative style.

1 lines 571 B
{"version":3,"file":"unqueueForUnmount.mjs","sources":["../../src/helpers/unqueueForUnmount.ts"],"sourcesContent":["import { roots } from '../core/roots';\nimport { store } from '../store';\n\nexport function unqueueForUnmount(canvas: HTMLCanvasElement)\n{\n const root = roots.get(canvas);\n\n if (root)\n {\n store.unmountQueue.delete(root);\n }\n}\n"],"names":[],"mappings":";;;;AAGO,SAAS,kBAAkB,MAClC,EAAA;AACI,EAAM,MAAA,IAAA,GAAO,KAAM,CAAA,GAAA,CAAI,MAAM,CAAA;AAE7B,EAAA,IAAI,IACJ,EAAA;AACI,IAAM,KAAA,CAAA,YAAA,CAAa,OAAO,IAAI,CAAA;AAAA;AAEtC;;;;"}