Parcourir la source

Fix popover being cut off

Marvin Polscheit il y a 2 mois
Parent
commit
cb4219c559
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Trio/Sources/Modules/Treatments/View/ForecastChart.swift

+ 1 - 1
Trio/Sources/Modules/Treatments/View/ForecastChart.swift

@@ -135,7 +135,7 @@ struct ForecastChart: View {
                     .lineStyle(.init(lineWidth: 2))
                     .annotation(
                         position: .top,
-                        overflowResolution: .init(x: .fit(to: .chart), y: .disabled)
+                        overflowResolution: .init(x: .fit(to: .chart), y: .fit(to: .chart))
                     ) {
                         selectionPopover
                     }