Opera10 commited on
Commit
4393c01
·
verified ·
1 Parent(s): 5158043

Update styles/classic.py

Browse files
Files changed (1) hide show
  1. styles/classic.py +1 -1
styles/classic.py CHANGED
@@ -66,7 +66,7 @@ def draw_frame(draw, img, width, height, style_config, lines, line_metrics, acti
66
 
67
  # --- رسم متن ---
68
  # الگوبرداری از آبی نئون: تراز کردن متن دقیقاً نسبت به سقف کادر (box_y1)
69
- text_start_y = box_y1 + (style_config.paddingY * 0.75)
70
  vertical_corr = int(style_config.fontSize * 0.1)
71
  current_line_y = text_start_y - vertical_corr
72
 
 
66
 
67
  # --- رسم متن ---
68
  # الگوبرداری از آبی نئون: تراز کردن متن دقیقاً نسبت به سقف کادر (box_y1)
69
+ text_start_y = box_y1 + (style_config.paddingY * 0.35)
70
  vertical_corr = int(style_config.fontSize * 0.1)
71
  current_line_y = text_start_y - vertical_corr
72