text_opaque -> text_opacity
This commit is contained in:
		
							parent
							
								
									a50e421aaa
								
							
						
					
					
						commit
						14e17c8af3
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -685,7 +685,7 @@ def export(func): | |||
| 
 | ||||
| 
 | ||||
| @export | ||||
| def Danmaku2ASS(input_files, output_file, stage_width, stage_height, reserve_blank=0, font_face=_('(FONT) sans-serif')[7:], font_size=25.0, text_opaque=1.0, comment_duration=5.0, is_reduce_comments=False, progress_callback=None): | ||||
| def Danmaku2ASS(input_files, output_file, stage_width, stage_height, reserve_blank=0, font_face=_('(FONT) sans-serif')[7:], font_size=25.0, text_opacity=1.0, comment_duration=5.0, is_reduce_comments=False, progress_callback=None): | ||||
|     fo = None | ||||
|     comments = ReadComments(input_files, font_size) | ||||
|     try: | ||||
|  | @ -693,7 +693,7 @@ def Danmaku2ASS(input_files, output_file, stage_width, stage_height, reserve_bla | |||
|             fo = ConvertToFile(output_file, 'w', encoding='utf-8-sig', errors='replace', newline='\r\n') | ||||
|         else: | ||||
|             fo = sys.stdout | ||||
|         ProcessComments(comments, fo, stage_width, stage_height, reserve_blank, font_face, font_size, text_opaque, comment_duration, is_reduce_comments, progress_callback) | ||||
|         ProcessComments(comments, fo, stage_width, stage_height, reserve_blank, font_face, font_size, text_opacity, comment_duration, is_reduce_comments, progress_callback) | ||||
|     finally: | ||||
|         if output_file and fo: | ||||
|             fo.close() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Star Brilliant
						Star Brilliant