Fix viewflattening for views with on_layout props
Reviewed By: achen1 Differential Revision: D7796986 fbshipit-source-id: beb0725d4edc15ec23deba592e53b700abb3bcb5
This commit is contained in:
parent
333602b9f2
commit
5fa9d78978
|
@ -254,8 +254,6 @@ public class ViewProps {
|
||||||
return map.isNull(BORDER_RIGHT_WIDTH) || map.getDouble(BORDER_RIGHT_WIDTH) == 0d;
|
return map.isNull(BORDER_RIGHT_WIDTH) || map.getDouble(BORDER_RIGHT_WIDTH) == 0d;
|
||||||
case BORDER_BOTTOM_WIDTH:
|
case BORDER_BOTTOM_WIDTH:
|
||||||
return map.isNull(BORDER_BOTTOM_WIDTH) || map.getDouble(BORDER_BOTTOM_WIDTH) == 0d;
|
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.
|
case OVERFLOW: // We do nothing with this right now.
|
||||||
return true;
|
return true;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue