Skip to content

Commit

Permalink
fix as button color
Browse files Browse the repository at this point in the history
  • Loading branch information
cphelefu committed Nov 21, 2023
1 parent f51c9ff commit 6810d0f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export function SingleLayer(props: SingleLayerProps): JSX.Element {
if (displayState === 'order') {
return (
<IconButton onClick={handleReArrangeLayer}>
<HandleIcon style={{ fill: '#a9a9a9' }} />
<HandleIcon style={{ fill: '#c51e3a' }} />
</IconButton>
);
}
Expand Down Expand Up @@ -162,7 +162,7 @@ export function SingleLayer(props: SingleLayerProps): JSX.Element {
}

function renderArrowButtons() {
if (!['processed', 'loaded'].includes(layer.layerStatus)) {
if (!['processed', 'loaded'].includes(layer.layerStatus) || displayState !== 'view') {
return null;
}
if (layer.children?.length) {
Expand Down

0 comments on commit 6810d0f

Please sign in to comment.