Skip to content

Commit

Permalink
Change Staging Area discard icon from Bin to X
Browse files Browse the repository at this point in the history
  • Loading branch information
blessedcoolant authored and psychedelicious committed Nov 27, 2022
1 parent eaab108 commit d80844a
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {
FaEye,
FaEyeSlash,
FaSave,
FaTrash,
} from 'react-icons/fa';
import { canvasSelector } from 'features/canvas/store/canvasSelectors';
import {
Expand All @@ -24,6 +23,7 @@ import {
} from 'features/canvas/store/canvasSlice';
import { useHotkeys } from 'react-hotkeys-hook';
import { saveStagingAreaImageToGallery } from 'app/socketio/actions';
import { MdClear } from 'react-icons/md';

const selector = createSelector(
[canvasSelector],
Expand Down Expand Up @@ -167,10 +167,11 @@ const IAICanvasStagingAreaToolbar = () => {
<IAIIconButton
tooltip="Discard All"
aria-label="Discard All"
icon={<FaTrash />}
icon={<MdClear />}
onClick={() => dispatch(discardStagedImages())}
data-selected={true}
style={{ backgroundColor: 'var(--btn-delete-image)' }}
fontSize={20}
/>
</ButtonGroup>
</Flex>
Expand Down

0 comments on commit d80844a

Please sign in to comment.