Jelajahi Sumber

fix Y position of dots

Ivan Valkou 5 tahun lalu
induk
melakukan
1c31c25e93

+ 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)
         }
     }