aboutsummaryrefslogtreecommitdiff
path: root/samplecode/SampleAAGeometry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'samplecode/SampleAAGeometry.cpp')
-rw-r--r--samplecode/SampleAAGeometry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/SampleAAGeometry.cpp b/samplecode/SampleAAGeometry.cpp
index af3ebf2f08..2722cad0c6 100644
--- a/samplecode/SampleAAGeometry.cpp
+++ b/samplecode/SampleAAGeometry.cpp
@@ -639,7 +639,7 @@ struct BiControl : public UniControl {
if (yPos < fYLo + 10) {
yPos = fYLo + 10;
}
- canvas->drawString(label, fBounds.fLeft + 5, yPos - 5, paints.fValue);
+ canvas->drawString(label, fBounds.fLeft + 5, yPos - 5, paints.fValueFont, paints.fValue);
SkRect fill = { fBounds.fLeft, fYLo, fBounds.fRight, yPos };
canvas->drawRect(fill, paints.fFill);
}