We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7659d32 commit 441117eCopy full SHA for 441117e
1 file changed
webapp/components/instantiation/NetPyNEInstantiated.js
@@ -135,7 +135,11 @@ class NetPyNEInstantiated extends React.Component {
135
ref={this.canvasRef}
136
key="CanvasContainer"
137
cameraOptions={camOptions}
138
- backgroundColor={bgRegular}
+ backgroundColor={
139
+ this.props.theme === THEMES.BLACK
140
+ ? canvasBgDark
141
+ : (this.props.theme === THEMES.LIGHT ? canvasBgLight : bgRegular)
142
+ }
143
onSelection={this.onSelection}
144
/>
145
</div>
0 commit comments