Skip to content

Commit d330d06

Browse files
Ahmed El-Helwfacebook-github-bot
Ahmed El-Helw
authored andcommitted
Fix a mistake in TextLayoutBuilder's README
Summary: @public This fixes #6 by fixing the README file, in which `super.draw()` was placed instead of `super.onDraw()`. Reviewed By: sriramramani Differential Revision: D4366906 fbshipit-source-id: 3fc283545b8bc8d1fb9bbfa9e592a252273b5d46
1 parent 6bc6caa commit d330d06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Usage
6060

6161
@Override
6262
protected void onDraw(Canvas canvas) {
63-
super.draw(canvas);
63+
super.onDraw(canvas);
6464

6565
// Draw the layout.
6666
mLayout.draw(canvas);

0 commit comments

Comments
 (0)