Explorar o código

Fix popover being cut off

Marvin Polscheit hai 2 meses
pai
achega
cb4219c559
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
                     }