禾欣等级排定改

This commit is contained in:
CPL 2024-07-12 10:38:20 +08:00
parent 2ec7eb4a68
commit 3e28703c0a
2 changed files with 1 additions and 0 deletions

View File

@ -190,6 +190,7 @@ namespace LeatherApp.Device
public int GetWidthForResize(int sumWidth) public int GetWidthForResize(int sumWidth)
{ {
int count =(int) Math.Round(sumWidth * 1.0f / image_width, 0); int count =(int) Math.Round(sumWidth * 1.0f / image_width, 0);
count = 8;
return count * image_width; return count * image_width;
//int count = sumWidth / image_width; //int count = sumWidth / image_width;