Bladeren bron

修改 分布图 在 颗粒 列表 点选 背景 错误的 bug

cxs 1 jaar geleden
bovenliggende
commit
792c444758
1 gewijzigde bestanden met toevoegingen van 11 en 1 verwijderingen
  1. 11 1
      OTSIncAReportApp/1-UI/Control_Graph/Controls/Control_DrawDistrbutionImageAndBSE.cs

+ 11 - 1
OTSIncAReportApp/1-UI/Control_Graph/Controls/Control_DrawDistrbutionImageAndBSE.cs

@@ -2648,12 +2648,22 @@ namespace OTSIncAReportGraph.Controls
                                     dp1.DraggingMove(new PointF(this.Width / 2, this.Height / 2));
                                     dp1.DraggingPoint = Point.Empty;
                                 }
+                                foreach (var item in m_list_allDfield)
+                                {
+                                    item.DraggingPoint = p1;
+                                    item.DraggingMove(new PointF(this.Width / 2, this.Height / 2));
+                                }
+                                foreach (var item in m_CurGBFields)
+                                {
+                                    item.DraggingPoint = p1;
+                                    item.DraggingMove(new PointF(this.Width / 2, this.Height / 2));
+                                }
                                 m_beforedrag_pointf = p1;
                                 //同样重新计算backrectf的坐标
                                 m_backRect = new RectangleF(m_backRect.Location.X + this.Width / 2 - m_beforedrag_pointf.X,
                                      m_backRect.Location.Y + this.Height / 2 - m_beforedrag_pointf.Y, m_backRect.Width, m_backRect.Height);
 
-                                ImageZoom(5, new PointF(dp.GetCenterPoint().X, dp.GetCenterPoint().Y));
+                                ImageZoom(2.5f, new PointF(dp.GetCenterPoint().X, dp.GetCenterPoint().Y));
                                 flag = false;
                             }
                             dp.IsSelect = true;