Spaces:
Paused
Paused
Update styles/classic.py
Browse files- 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.
|
| 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 |
|