Skip to content

Commit

Permalink
Fix PieChart blackout issue, #1538
Browse files Browse the repository at this point in the history
  • Loading branch information
imaNNeo committed Jan 10, 2024
1 parent d116601 commit 03852e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions example/devtools_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extensions:
1 change: 1 addition & 0 deletions lib/src/chart/pie_chart/pie_chart_painter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ class PieChartPainter extends BaseChartPainter<PieChartData> {
_sectionPaint..blendMode = BlendMode.srcOut,
)
..restore();
_sectionPaint.blendMode = BlendMode.srcOver;
if (section.borderSide.width != 0.0 &&
section.borderSide.color.opacity != 0.0) {
_sectionStrokePaint
Expand Down

0 comments on commit 03852e1

Please sign in to comment.