Browse files

The width and height should be in the revsersed order.

Inspired by #13191

Creating a test app with spannable `TextView`, and observe the text width/height
Closes #13203

Differential Revision: D4795809

Pulled By: hramos

fbshipit-source-id: a7c6845abe7472dc7ad2f1f978a20d02fe49eda8
  • Loading branch information...
hoangpham95 authored and facebook-github-bot committed Mar 29, 2017
1 parent 1d36700 commit c3110963f2517b3ef8b80f5d510b8dd41a67350d
@@ -135,8 +135,8 @@ public boolean isVirtual() {
public TextInlineImageSpan buildInlineImageSpan() {
Resources resources = getThemedContext().getResources();
int height = (int) Math.ceil(mWidth);
int width = (int) Math.ceil(mHeight);
int width = (int) Math.ceil(mWidth);
int height = (int) Math.ceil(mHeight);
return new FrescoBasedReactTextInlineImageSpan(

0 comments on commit c311096

Please sign in to comment.