Adds right color annotation

This commit is contained in:
Roman Galochkin 2020-02-27 11:50:46 +03:00
parent 4b0d9d6409
commit 22a9646bf1

View File

@ -195,8 +195,9 @@ let make = () => {
}) })
| "RightLimited" => | "RightLimited" =>
RightLimited({ RightLimited({
xPoint: reform.state.values.xPoint, xPoint: reform.state.values.xPoint2,
excludingProbabilityMass: reform.state.values.excludingProbabilityMass, excludingProbabilityMass:
reform.state.values.excludingProbabilityMass2,
}) })
| "LeftAndRightLimited" => | "LeftAndRightLimited" =>
LeftAndRightLimited( LeftAndRightLimited(
@ -315,14 +316,14 @@ let make = () => {
<Col span=4> <Col span=4>
<FieldFloat <FieldFloat
field=FormConfig.XPoint field=FormConfig.XPoint
label="X-point" label="Left X-point"
className=Styles.groupA className=Styles.groupA
/> />
</Col> </Col>
<Col span=4> <Col span=4>
<FieldFloat <FieldFloat
field=FormConfig.ExcludingProbabilityMass field=FormConfig.ExcludingProbabilityMass
label="Excluding Probability Mass" label="Left Excluding Probability Mass"
className=Styles.groupA className=Styles.groupA
/> />
</Col> </Col>
@ -330,21 +331,21 @@ let make = () => {
|> E.showIf( |> E.showIf(
E.L.contains( E.L.contains(
reform.state.values.domainType, reform.state.values.domainType,
["LeftLimited", "RightLimited", "LeftAndRightLimited"], ["LeftLimited", "LeftAndRightLimited"],
), ),
)} )}
{<> {<>
<Col span=4> <Col span=4>
<FieldFloat <FieldFloat
field=FormConfig.XPoint2 field=FormConfig.XPoint2
label="X-point (2)" label="Right X-point"
className=Styles.groupB className=Styles.groupB
/> />
</Col> </Col>
<Col span=4> <Col span=4>
<FieldFloat <FieldFloat
field=FormConfig.ExcludingProbabilityMass2 field=FormConfig.ExcludingProbabilityMass2
label="Excluding Probability Mass (2)" label="Right Excluding Probability Mass"
className=Styles.groupB className=Styles.groupB
/> />
</Col> </Col>
@ -352,7 +353,7 @@ let make = () => {
|> E.showIf( |> E.showIf(
E.L.contains( E.L.contains(
reform.state.values.domainType, reform.state.values.domainType,
["LeftAndRightLimited"], ["RightLimited", "LeftAndRightLimited"],
), ),
)} )}
</Row> </Row>