Skip to content

Commit

Permalink
fix: disable layer select UI while plotting (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrudd2 authored Oct 26, 2023
1 parent 6923fe9 commit 73ebd74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ui.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -781,6 +781,7 @@ function LayerSelector({state}: {state: State}) {
value={[...selectedLayers]}
onChange={layersChanged}
size={3}
disabled={state.progress != null}
>
{layers.map((layer) => <option key={layer}>{layer}</option>)}
</select>
Expand Down

0 comments on commit 73ebd74

Please sign in to comment.