aboutsummaryrefslogtreecommitdiff
path: root/modules/shared.py
diff options
context:
space:
mode:
authorGugubo <29143981+Gugubo@users.noreply.github.com>2022-10-14 14:19:39 +0200
committerAUTOMATIC1111 <16777216c@gmail.com>2022-10-14 19:54:24 +0300
commit2fb9891af3bb4c36a6de6b44937e927bda43c10d (patch)
tree9e25568d1fcb79a1f63511f2c838d0040ab25951 /modules/shared.py
parent6c6427946087d761d548d97164594d914fdd9b78 (diff)
Change grid row count autodetect to prevent empty spots
Instead of just rounding (sometimes resulting in grids with "empty" spots), find a divisor. For example: 8 images will now result in a 4x2 grid instead of a 3x3 with one empty spot.
Diffstat (limited to 'modules/shared.py')
0 files changed, 0 insertions, 0 deletions