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 коммит произвёл Facebook Github Bot
Родитель 333602b9f2
Коммит 5fa9d78978
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -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: