Moved barcode height to main config
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		@@ -42,11 +42,9 @@
 | 
			
		||||
			scale: 10,
 | 
			
		||||
			includetext: true,
 | 
			
		||||
			textxalign: 'center',
 | 
			
		||||
			backgroundcolor: 'ffffff'
 | 
			
		||||
			backgroundcolor: 'ffffff',
 | 
			
		||||
			height: 10
 | 
			
		||||
		};
 | 
			
		||||
		if (bcid == 'code128') {
 | 
			
		||||
			codeconfig.height = 10;
 | 
			
		||||
		}
 | 
			
		||||
		bwipjs.toCanvas(canvas, codeconfig);
 | 
			
		||||
		return canvas.toDataURL('image/png');
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user