Skip to content

Commit 914b073

Browse files
committed
The atl03x-surface should use solid for color encode when a photon cloud is overlayed #669
1 parent 2b862b6 commit 914b073

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web-client/src/stores/chartStore.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,9 +241,9 @@ export const useChartStore = defineStore('chartStore', {
241241
//console.log('setYDataOptions reqIdStr:',reqIdStr, ' yData:',yDataOptions, ' state yData:',this.stateByReqId[reqIdStr].yDataOptions);
242242
},
243243
getColorEncodeOptionsForFunc(reqIdStr: string,func: string): string[] {
244-
if(func.includes('atl03sp')) {
244+
if(func === 'atl03sp') {
245245
return this.getYDataOptions(reqIdStr);
246-
} else if(func.includes('atl03x')) {
246+
} else if(func === 'atl03x') {
247247
return this.getYDataOptions(reqIdStr);
248248
} else {
249249
const ret = ['solid'];

0 commit comments

Comments
 (0)