fix: grid group
This commit is contained in:
parent
fb1a286a86
commit
f197658199
|
@ -7,6 +7,8 @@ import {Sprite} from '@pixi/sprite';
|
|||
|
||||
import {useRadians} from '@/react/context/radians.js';
|
||||
|
||||
import {deferredLighting} from './lights.js';
|
||||
|
||||
const tileSize = {x: 16, y: 16};
|
||||
const radius = 9;
|
||||
|
||||
|
@ -68,6 +70,7 @@ const TargetingGridInternal = PixiComponent('TargetingGrid', {
|
|||
container.mask = area;
|
||||
const top = new Container();
|
||||
top.addChild(container, area);
|
||||
top.parentGroup = deferredLighting.diffuseGroup;
|
||||
return top;
|
||||
},
|
||||
applyProps: ({children: [container]}, oldProps, {x, y, radians}) => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user