Add comments for the kExecutionTime/Check in CanvasGraphics
This commit is contained in:
		
							parent
							
								
									ecb622c5ea
								
							
						
					
					
						commit
						4484482bcf
					
				
							
								
								
									
										4
									
								
								pdf.js
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								pdf.js
									
									
									
									
									
								
							| @ -4843,7 +4843,11 @@ function ScratchCanvas(width, height) { | ||||
| } | ||||
| 
 | ||||
| var CanvasGraphics = (function() { | ||||
|   // Defines the time the executeIRQueue gone be executing
 | ||||
|   // before it stops and shedules a continue of execution.
 | ||||
|   var kExecutionTime = 50; | ||||
|   // Number of IR commands to execute before checking
 | ||||
|   // if we execute longer then `kExecutionTime`.
 | ||||
|   var kExecutionTimeCheck = 500; | ||||
| 
 | ||||
|   function constructor(canvasCtx, imageCanvas) { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user