tripleS-Dev commited on
Commit
0f2abb8
·
1 Parent(s): eb6093b

update V1.3.3L Beta

Browse files

-Add OMA2
-Remove rounded option
-code optimization and performance improvement

Files changed (1) hide show
  1. generate.py +7 -4
generate.py CHANGED
@@ -174,10 +174,13 @@ img_qr_white_space = Image.new("RGB", (335, 335), 'white')
174
 
175
 
176
  def back(obj_color, obj_color_picker, ai_num, txt_color, txt_color_picker, group_name_radio, group_name_txt, member_name_dropdown, obj_num, obj_alphabet, obj_alphabet_txt, obj_serial, obj_outline_color, obj_outline_color_picker, logo_radio, class_radio, class_txt, season_radio, season_txt, season_txt_outline, sign, qr_url_dropdown, qr_Logo_radio, right_btn, preset):
177
- if obj_color == 'OMA':
178
- frame = outline_ui_oma
179
- else:
180
- frame = outline_ui
 
 
 
181
 
182
  match obj_outline_color:
183
  case "White":
 
174
 
175
 
176
  def back(obj_color, obj_color_picker, ai_num, txt_color, txt_color_picker, group_name_radio, group_name_txt, member_name_dropdown, obj_num, obj_alphabet, obj_alphabet_txt, obj_serial, obj_outline_color, obj_outline_color_picker, logo_radio, class_radio, class_txt, season_radio, season_txt, season_txt_outline, sign, qr_url_dropdown, qr_Logo_radio, right_btn, preset):
177
+ match obj_color:
178
+ case 'OMA1':
179
+ frame = outline_ui_oma
180
+ case 'OMA2':
181
+ frame = outline_ui_oma
182
+ case _:
183
+ frame = outline_ui
184
 
185
  match obj_outline_color:
186
  case "White":