File tree Expand file tree Collapse file tree 4 files changed +15
-2
lines changed Expand file tree Collapse file tree 4 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,10 @@ export default class SymbolSelector extends Component {
8181 < div
8282 className = "symbol-selector__item"
8383 key = { value }
84- onClick = { ( ) => this . props . onChange ( value ) }
84+ onClick = { ( ) => {
85+ this . props . onChange ( value ) ;
86+ this . togglePanel ( ) ;
87+ } }
8588 >
8689 < svg
8790 width = "28"
Original file line number Diff line number Diff line change @@ -125,6 +125,9 @@ export default function connectTraceToPlot(WrappedComponent) {
125125 )
126126 : null ;
127127
128+ const containsAnSrc =
129+ Object . keys ( update ) . filter ( a => a . endsWith ( 'src' ) ) . length > 0 ;
130+
128131 if ( Array . isArray ( update ) ) {
129132 update . forEach ( ( u , i ) => {
130133 this . context . onUpdate ( {
@@ -136,7 +139,7 @@ export default function connectTraceToPlot(WrappedComponent) {
136139 } ,
137140 } ) ;
138141 } ) ;
139- } else if ( splitTraceGroup ) {
142+ } else if ( splitTraceGroup && ! containsAnSrc ) {
140143 this . props . traceIndexes . forEach ( ( t , i ) => {
141144 this . context . onUpdate ( {
142145 type : EDITOR_ACTIONS . UPDATE_TRACES ,
Original file line number Diff line number Diff line change 3030 position : relative ;
3131 }
3232}
33+
34+ .field .modalbox {
35+ width : 100% ;
36+ left : -1px ;
37+ top : 100% ;
38+ }
Original file line number Diff line number Diff line change @@ -171,6 +171,7 @@ $item-size: 90px;
171171 & __label {
172172 font-weight : var (--font-weight-semibold );
173173 width : $item-size * 0.8 ;
174+ height : 34px ;
174175 margin-top : var (--spacing-half-unit );
175176 color : var (--color-text-base );
176177 text-transform : capitalize ;
You can’t perform that action at this time.
0 commit comments