Fix bad crop on 1080 height size (ks-crop)

This commit is contained in:
q3aql 2021-03-23 16:05:01 +01:00
parent 7f723e2b60
commit b40171b74e

View File

@ -178,7 +178,7 @@ if [ ${resolution_first} == "2048" ] ; then
ih_size="380" ih_size="380"
fi fi
if [ ${resolution_first} == "1920" ] ; then if [ ${resolution_first} == "1920" ] ; then
ih_size="360" ih_size="270"
fi fi
if [ ${resolution_first} == "1680" ] ; then if [ ${resolution_first} == "1680" ] ; then
ih_size="250" ih_size="250"
@ -240,7 +240,7 @@ if [ ${resolution_second} == "1200" ] ; then
ih_size="300" ih_size="300"
fi fi
if [ ${resolution_second} == "1080" ] ; then if [ ${resolution_second} == "1080" ] ; then
ih_size="360" ih_size="270"
fi fi
if [ ${resolution_second} == "1050" ] ; then if [ ${resolution_second} == "1050" ] ; then
ih_size="250" ih_size="250"
@ -323,7 +323,7 @@ if [ ${resolution_detected} == "1920x1540" ] ; then
ih_size="380" ih_size="380"
fi fi
if [ ${resolution_detected} == "1920x1080" ] ; then if [ ${resolution_detected} == "1920x1080" ] ; then
ih_size="360" ih_size="270"
fi fi
if [ ${resolution_detected} == "1920x1040" ] ; then if [ ${resolution_detected} == "1920x1040" ] ; then
ih_size="260" ih_size="260"