|  |  | @@ -980,7 +980,17 @@ function updateSizes(dirtyOnly = false) { | 
		
	
		
			
			|  |  |  | drawRulers(); | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | function cleanRulers() { | 
		
	
		
			
			|  |  |  | rulers = rulers.filter(ruler => { | 
		
	
		
			
			|  |  |  | if (!ruler.entityKey) { | 
		
	
		
			
			|  |  |  | return true; | 
		
	
		
			
			|  |  |  | } else { | 
		
	
		
			
			|  |  |  | return entities[ruler.entityKey] !== undefined; | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | }); | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | function drawRulers() { | 
		
	
		
			
			|  |  |  | cleanRulers(); | 
		
	
		
			
			|  |  |  | const canvas = document.querySelector("#rulers"); | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | /** @type {CanvasRenderingContext2D} */ | 
		
	
	
		
			
				|  |  | 
 |