Browse Source

Fix popover being cut off

Marvin Polscheit 2 tháng trước cách đây
mục cha
commit
cb4219c559
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
                     }