Jump to content

Chromical

Members
  • Content Count

    4
  • Joined

  • Last visited

  1. Hi again, I now tried putting everything in a scene object, but that didn't help as well. I extracted a minimalized version that still can reproduce the bug. Runs perfectly fine in Firefox, but loses the context in Chrome after changing the data several times. DiagramContainer.tsx StageDebug.tsx useStageDebug.ts
  2. Hi, thanks for the reply. The adding only takes place, when the data changes, not on every tick. And we remove & destroy all the old objects before adding new ones. Textures are not yet used, except the default PIXI.Texture.WHITE using tint() for different colors. Here's a code snippet of what we do before adding new objects: // remove ticker function PIXI.Ticker.shared.remove(update); // remove children from container (not sure if necessary at all // or already covered by removing children from stage) for (let i = container.children.length - 1; i >= 0; i--) { const
  3. Hi, We're fairly new to pixi.js and so far everything worked great, but we've now run into our first problem we couldn't figure out browsing the forum and the web. We are currently creating a diagram consisting of lots of elements (about 12.000 elements, could get even more later on). That's going fine so far, but we now added an option for the user to filter the elements on display. So, every time the user changes the filter options, we remove all elements and add the new amount of filtered elements. That still works fine for a couple of times, but after about 9 changes Chrome loses
×
×
  • Create New...