Explorar el Código

Fix popover being cut off

Marvin Polscheit hace 2 meses
padre
commit
cb4219c559
Se han modificado 1 ficheros con 1 adiciones y 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
                     }