Bläddra i källkod

Merge branch 'master' of http://10.108.64.190:3000/gfg/client

zhaoyang 2 år sedan
förälder
incheckning
0e94284029
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      GameClient/Assets/Editor/ArtsRes/ImagesClip/ImagesClip.cs

+ 1 - 1
GameClient/Assets/Editor/ArtsRes/ImagesClip/ImagesClip.cs

@@ -88,7 +88,7 @@ public class ImagesClip : MonoBehaviour
             }
             if (find) break;
         }
-        bmp = Cut(bmp, left, top, right - left, bottom - top);
+        bmp = Cut(bmp, left, top, right - left + 1, bottom - top + 1);
         if (bmp != null)
         {
             bmp.Save(TargetPath + fileName);