소스 검색

improve DisplayParticle logic.

gsp 2 년 전
부모
커밋
cdb2d55ceb
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      OTSIncAReportApp/2-CommonFunction/CommonClass/DisplayParticle.cs

+ 2 - 0
OTSIncAReportApp/2-CommonFunction/CommonClass/DisplayParticle.cs

@@ -810,6 +810,8 @@ namespace OTSIncAReportGraph
             rect.Width = i_width - rect.X ;
             rect.Height = i_height - rect.Y ;
 
+            if (rect.Width < 1) rect.Width = 1;
+            if (rect.Height < 1) rect.Height = 1;
         
 
             return rect;