Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Use anti-aliasing when drawing text in the performance overlay #7445

Merged
merged 1 commit into from
Jan 10, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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