Skip to content

Commit d8a70ff

Browse files
committed
Add fixes after rebasing
1 parent 11f2d2c commit d8a70ff

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

lib/src/chart/line_chart/line_chart_painter.dart

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1237,9 +1237,12 @@ class LineChartPainter extends AxisChartPainter<LineChartData> {
12371237
bottomLeft: tooltipData.tooltipBorderRadius.bottomLeft,
12381238
bottomRight: tooltipData.tooltipBorderRadius.bottomRight,
12391239
);
1240-
final shadowRoundedRect = RRect.fromRectAndRadius(
1240+
final shadowRoundedRect = RRect.fromRectAndCorners(
12411241
rect.shift(tooltipData.shadow.offset),
1242-
radius,
1242+
topLeft: tooltipData.tooltipBorderRadius.topLeft,
1243+
topRight: tooltipData.tooltipBorderRadius.topRight,
1244+
bottomLeft: tooltipData.tooltipBorderRadius.bottomLeft,
1245+
bottomRight: tooltipData.tooltipBorderRadius.bottomRight,
12431246
);
12441247

12451248
var topSpot = showingTooltipSpots.showingSpots[0];

0 commit comments

Comments
 (0)