Remove double greyed-out-overlay
Summary: When a toggled section is frozen, it already has a greyed out overlay over the whole thing. So there's no need for another one covering the indented section. Reviewed By: passy Differential Revision: D18063767 fbshipit-source-id: a4d5992ecf61f036a23f619e9cf64d59150a41d6
This commit is contained in:
committed by
Facebook Github Bot
parent
f53b252aff
commit
beb797e70d
@@ -43,7 +43,7 @@ export default function ToggledSection(props: {
|
||||
</FlexRow>
|
||||
<IndentedSection>
|
||||
{props.children}
|
||||
{props.toggled ? null : <GreyedOutOverlay />}
|
||||
{props.toggled || props.frozen ? null : <GreyedOutOverlay />}
|
||||
</IndentedSection>
|
||||
</FlexColumn>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user