Skip to content

Commit 984cba4

Browse files
committed
Review comments
1 parent f793f7a commit 984cba4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/components/fields/TraceSelector.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,10 @@ class TraceSelector extends Component {
7272
}
7373

7474
setTraceDefaults(container, fullContainer, updateContainer) {
75-
if (
76-
(container.type === 'scatter' && !container.mode) ||
77-
(!container.type && fullContainer.type === 'scatter')
78-
) {
75+
if (!container.mode && fullContainer.type === 'scatter') {
7976
updateContainer({
8077
type: 'scatter',
8178
mode: fullContainer.mode || 'markers',
82-
fill: fullContainer.fill || container.fill,
8379
});
8480
}
8581
}

0 commit comments

Comments
 (0)