B:BD[
3.11066] → [
2.0:355]
// this.container.hitArea = new Pixi.Rectangle( // note: hitarea breaks child onhover: https://github.com/pixijs/pixi.js/issues/5837
// - RenderedChunkConstants.NODE_HITAREA_PX / 2,
// - RenderedChunkConstants.NODE_HITAREA_PX / 2,
// RenderedChunkConstants.NODE_HITAREA_PX,
// RenderedChunkConstants.NODE_HITAREA_PX,
// );
const hitArea: Pixi.Rectangle = new Pixi.Rectangle(
- RenderedChunkConstants.NODE_HITAREA_PX / 2,
- RenderedChunkConstants.NODE_HITAREA_PX / 2,
RenderedChunkConstants.NODE_HITAREA_PX,
RenderedChunkConstants.NODE_HITAREA_PX,
);
// note: hitarea breaks child onhover: https://github.com/pixijs/pixi.js/issues/5837
// this.container.hitArea = hitArea;