Skip to content

Commit 6aa98bf

Browse files
author
black-isort-bot
committed
[skip ci]: black/isort
1 parent 574c31c commit 6aa98bf

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

PyPDFForm/core/template.py

+7-3
Original file line numberDiff line numberDiff line change
@@ -290,9 +290,13 @@ def get_draw_checkbox_radio_coordinates_v2(
290290
) / 2
291291

292292
return (
293-
width_mid_point - stringWidth(
294-
element_middleware.value, element_middleware.font, element_middleware.font_size
295-
) / 2,
293+
width_mid_point
294+
- stringWidth(
295+
element_middleware.value,
296+
element_middleware.font,
297+
element_middleware.font_size,
298+
)
299+
/ 2,
296300
(height_mid_point - string_height / 2 + height_mid_point) / 2,
297301
)
298302

0 commit comments

Comments
 (0)