Skip to content

Commit

Permalink
portland removed from the switch case. not needed anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
DustSwiffer committed Nov 28, 2023
1 parent d1372b7 commit e45544a
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions src/store/gui/heightmap/getters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,8 @@ export const getters: GetterTree<HeightmapState, any> = {
return ['#000000', '#ff0000', '#ffff00', '#ffffff']
case 'grayscale':
return ['#ffffff', '#000000']
case 'portland':
return [
'#313695',
'#4575b4',
'#74add1',
'#abd9e9',
'#e0f3f8',
'#ffffbf',
'#fee090',
'#fdae61',
'#f46d43',
'#d73027',
'#a50026',
]
default:
// Portland colorscheme is being used as default.
return [
'#313695',
'#4575b4',
Expand All @@ -40,8 +27,6 @@ export const getters: GetterTree<HeightmapState, any> = {
'#d73027',
'#a50026',
]
break
}
return []
},
}

0 comments on commit e45544a

Please sign in to comment.