调整脚本

This commit is contained in:
13038267101 2022-06-15 09:47:17 +08:00
parent 9752079d31
commit 654fdbfcf7
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ mainverstr="s/ver_1/4/g" #版本控制
minver="06"
minverstr="s/ver_2/"
sudo apt install libudev-dev
if [ "$sys" == "UnionTech" ];then
# uos ...

View File

@ -883,7 +883,7 @@ else
{
ic.cropRect.enable = custom_area_;
int height = (custom_area_br_y_ *ic.resolution_dst) /25.4 - (custom_area_lt_y_ *ic.resolution_dst /25.4);
int width = (custom_area_br_x_ *ic.resolution_dst) /25.4 - (custom_area_lt_x_ *ic.resolution_dst /25.4);
int width = (custom_area_br_x_ *ic.resolution_dst) /25.4 - (custom_area_lt_x_ *ic.resolution_dst /25.4);
ic.cropRect.height = height;
ic.cropRect.width = width;
ic.cropRect.x = custom_area_lt_x_ *ic.resolution_dst /25.4;