Skip to content

Commit

Permalink
Fix a mistake in TextLayoutBuilder's README
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Ahmed El-Helw authored and facebook-github-bot committed Dec 27, 2016
1 parent 6bc6caa commit d330d06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -60,7 +60,7 @@ Usage

@Override
protected void onDraw(Canvas canvas) {
super.draw(canvas);
super.onDraw(canvas);

// Draw the layout.
mLayout.draw(canvas);
Expand Down

0 comments on commit d330d06

Please sign in to comment.