Skip to content

Commit cc465ea

Browse files
authored
Merge pull request #39 from syncpoint/issue-37
honor "disabled" property
2 parents 560b9e8 + 1c45956 commit cc465ea

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/renderer/components/properties/GraphicsProperties.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ export default props => {
4545
RECTANGLE: () => (
4646
<ColSpan2>
4747
<GridAutoColumns>
48-
<RectangleWidth features={features}/>
49-
<Length features={features}/>
50-
<Attitude features={features}/>
48+
<RectangleWidth features={features} disabled={props.disabled} />
49+
<Length features={features} disabled={props.disabled} />
50+
<Attitude features={features} disabled={props.disabled} />
5151
</GridAutoColumns>
5252
</ColSpan2>
5353
),
54-
CIRCLE: () => <Radius features={features}/>,
55-
CORRIDOR: () => <CorridorWidth features={features}/>
54+
CIRCLE: () => <Radius features={features} disabled={props.disabled} />,
55+
CORRIDOR: () => <CorridorWidth features={features} disabled={props.disabled} />
5656
}
5757

5858
return (

0 commit comments

Comments
 (0)