Add 1:1 aspect ratio support.

This commit is contained in:
fewtarius 2023-08-19 15:22:04 +00:00
parent 2915363ad7
commit a2fb8246a5
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -150,6 +150,9 @@ function get_aspect_ratio() {
ASPECT=$(printf "%.2f" $(echo "(${FBWIDTH} / ${FBHEIGHT})" | bc -l))
case ${ASPECT} in
1.00)
ASPECT="1:1"
;;
1.50|0.67)
ASPECT="3:2"
;;