| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -4,11 +4,7 @@ module.exports = function attachDebugScreen (screen) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  const debugCanvas = mk('canvas') | 
					 | 
					 | 
					 | 
					  const debugCanvas = mk('canvas') | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  const ctx = debugCanvas.getContext('2d') | 
					 | 
					 | 
					 | 
					  const ctx = debugCanvas.getContext('2d') | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  debugCanvas.style.position = 'absolute' | 
					 | 
					 | 
					 | 
					  debugCanvas.classList.add('debug-canvas') | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  // hackity hack should probably set this in CSS
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  debugCanvas.style.top = '6px' | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  debugCanvas.style.left = '6px' | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  debugCanvas.style.pointerEvents = 'none' | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  let addCanvas = function () { | 
					 | 
					 | 
					 | 
					  let addCanvas = function () { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (!debugCanvas.parentNode) screen.canvas.parentNode.appendChild(debugCanvas) | 
					 | 
					 | 
					 | 
					    if (!debugCanvas.parentNode) screen.canvas.parentNode.appendChild(debugCanvas) | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |