mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-11-04 07:12:33 +01:00 
			
		
		
		
	Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
		
						commit
						b25218ccc1
					
				@ -99,6 +99,12 @@ def info_json(keyboard):
 | 
				
			|||||||
    # Check that the reported matrix size is consistent with the actual matrix size
 | 
					    # Check that the reported matrix size is consistent with the actual matrix size
 | 
				
			||||||
    _check_matrix(info_data)
 | 
					    _check_matrix(info_data)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    # Remove newline characters from layout labels
 | 
				
			||||||
 | 
					    for layout_name, layout_json in layouts.items():
 | 
				
			||||||
 | 
					        for key in layout_json['layout']:
 | 
				
			||||||
 | 
					            if '\n' in key['label']:
 | 
				
			||||||
 | 
					                key['label'] = key['label'].split('\n')[0]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    return info_data
 | 
					    return info_data
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user