fix lightning animation z-index
This commit is contained in:
		
							parent
							
								
									e71e34612c
								
							
						
					
					
						commit
						e0d89a289b
					
				@ -59,7 +59,7 @@ export function Lightning () {
 | 
				
			|||||||
    bolt.draw()
 | 
					    bolt.draw()
 | 
				
			||||||
  }, [])
 | 
					  }, [])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  return <canvas className='position-fixed' ref={canvasRef} style={{ zIndex: -1 }} />
 | 
					  return <canvas className='position-fixed' ref={canvasRef} style={{ zIndex: 0, pointerEvents: 'none' }} />
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function Bolt (ctx, options) {
 | 
					function Bolt (ctx, options) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user