Add 1:1 aspect ratio support.
This commit is contained in:
parent
2915363ad7
commit
a2fb8246a5
1 changed files with 3 additions and 0 deletions
|
@ -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"
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue