Skip to content

Commit

Permalink
Use anti-aliasing when drawing text in the performance overlay (flutt…
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-simmons authored Jan 10, 2019
1 parent b7f6bf0 commit 0c11836
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flow/layers/performance_overlay_layer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ void DrawStatisticsText(SkCanvas& canvas,
paint.setTextSize(15);
paint.setLinearText(false);
paint.setColor(SK_ColorGRAY);
paint.setAntiAlias(true);
canvas.drawText(string.c_str(), string.size(), x, y, paint);
}

Expand Down

0 comments on commit 0c11836

Please sign in to comment.