瀏覽代碼

fix Y position of dots

Ivan Valkou 5 年之前
父節點
當前提交
1c31c25e93
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      FreeAPS/Sources/Modules/Home/View/Chart/MainChartView.swift

+ 4 - 0
FreeAPS/Sources/Modules/Home/View/Chart/MainChartView.swift

@@ -321,6 +321,8 @@ struct MainChartView: View {
             calculatePredictionDots(fullSize: fullSize, type: .zt)
             calculatePredictionDots(fullSize: fullSize, type: .uam)
             calculateGlucoseDots(fullSize: fullSize)
+            calculateBolusDots(fullSize: fullSize)
+            calculateBolusDots(fullSize: fullSize)
         }
         .onChange(of: didAppearTrigger) { _ in
             calculatePredictionDots(fullSize: fullSize, type: .iob)
@@ -328,6 +330,8 @@ struct MainChartView: View {
             calculatePredictionDots(fullSize: fullSize, type: .zt)
             calculatePredictionDots(fullSize: fullSize, type: .uam)
             calculateGlucoseDots(fullSize: fullSize)
+            calculateBolusDots(fullSize: fullSize)
+            calculateBolusDots(fullSize: fullSize)
         }
     }