Skip to content

Commit

Permalink
Set back defaultSize to CustomPaint
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesblasco committed Nov 18, 2019
1 parent f6822f5 commit f60a6ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/src/chart/bar_chart/bar_chart.dart
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class BarChartState extends AnimatedWidgetBaseState<BarChart> {
},
child: CustomPaint(
key: _chartKey,
size: chartSize,
size: getDefaultSize(context),
painter: BarChartPainter(
_withTouchedIndicators(_barChartDataTween.evaluate(animation)),
_withTouchedIndicators(showingData),
Expand Down
2 changes: 1 addition & 1 deletion lib/src/chart/line_chart/line_chart.dart
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class LineChartState extends AnimatedWidgetBaseState<LineChart> {
},
child: CustomPaint(
key: _chartKey,
size: chartSize,
size: getDefaultSize(context),
painter: LineChartPainter(
_withTouchedIndicators(_lineChartDataTween.evaluate(animation)),
_withTouchedIndicators(showingData),
Expand Down
2 changes: 1 addition & 1 deletion lib/src/chart/pie_chart/pie_chart.dart
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class PieChartState extends AnimatedWidgetBaseState<PieChart> {
},
child: CustomPaint(
key: _chartKey,
size: chartSize,
size: getDefaultSize(context),
painter: PieChartPainter(
_pieChartDataTween.evaluate(animation),
showingData,
Expand Down

0 comments on commit f60a6ed

Please sign in to comment.