ソースを参照

Fix popover being cut off

Marvin Polscheit 2 ヶ月 前
コミット
cb4219c559
1 ファイル変更1 行追加1 行削除
  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
                     }