Skip to content

Commit

Permalink
Merge pull request #10 from LEv145/dev
Browse files Browse the repository at this point in the history
v 2.5.1
  • Loading branch information
LEv145 authored Feb 22, 2024
2 parents 44365fa + 6c93712 commit 8115be4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/images_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def _create_grid_annotation(
+ font.getlength(WIDEST_LETTER)*2
)
if column_texts:
top_padding = int(font.size * 2)
top_padding = max(elem.count("\n") for elem in column_texts) * int(font.size) + int(font.size * 2)

image = Image.new(
"RGB",
Expand Down

0 comments on commit 8115be4

Please sign in to comment.