Fix viewflattening for views with on_layout props

Reviewed By: achen1

Differential Revision: D7796986

fbshipit-source-id: beb0725d4edc15ec23deba592e53b700abb3bcb5
This commit is contained in:
David Vacca 2018-04-27 18:44:11 -07:00 committed by Facebook Github Bot
parent 333602b9f2
commit 5fa9d78978
1 changed files with 0 additions and 2 deletions

View File

@ -254,8 +254,6 @@ public class ViewProps {
return map.isNull(BORDER_RIGHT_WIDTH) || map.getDouble(BORDER_RIGHT_WIDTH) == 0d;
case BORDER_BOTTOM_WIDTH:
return map.isNull(BORDER_BOTTOM_WIDTH) || map.getDouble(BORDER_BOTTOM_WIDTH) == 0d;
case ON_LAYOUT:
return true;
case OVERFLOW: // We do nothing with this right now.
return true;
default: