refactor: no mask
This commit is contained in:
parent
3d4d29625d
commit
14c15bbf4a
|
@ -15,7 +15,7 @@ const WaterTile = forwardRef(function WaterTile({height, width}, ref) {
|
|||
return <Graphics alpha={0} draw={draw} ref={ref} />
|
||||
});
|
||||
|
||||
export default function Water({mask, tileLayer, water}) {
|
||||
export default function Water({tileLayer, water}) {
|
||||
const [mounted, setMounted] = useState(false);
|
||||
useEffect(() => {
|
||||
setMounted(true);
|
||||
|
@ -39,7 +39,7 @@ export default function Water({mask, tileLayer, water}) {
|
|||
}
|
||||
}
|
||||
return (
|
||||
<Container mask={mask}>
|
||||
<Container>
|
||||
<WaterTile
|
||||
height={tileLayer.tileSize.y}
|
||||
ref={waterTile}
|
||||
|
|
Loading…
Reference in New Issue
Block a user