Skip to content

Commit

Permalink
Use plus and minus icon keys in place of remove and add
Browse files Browse the repository at this point in the history
the add circle outline icon is not in the design system at this time
so we will need to address this later if desired.
  • Loading branch information
nucleogenesis committed Sep 22, 2020
1 parent 7db581d commit 51b8588
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
<!-- Cropping options -->
<span v-if="cropping">
<IconButton
icon="add"
icon="plus"
data-test="zoomin"
:text="$tr('zoomIn')"
class="ma-0"
Expand All @@ -123,7 +123,7 @@
@mouseup="cropZoomStop"
/>
<IconButton
icon="remove"
icon="minus"
data-test="zoomout"
:text="$tr('zoomOut')"
class="ma-0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@
<!-- Cropping options -->
<template v-else-if="cropping">
<IconButton
icon="add"
icon="plus"
data-test="zoomin"
:text="$tr('zoomIn')"
@click="Cropper && Cropper.zoomIn()"
@mousedown="cropZoomIn"
@mouseup="cropZoomStop"
/>
<IconButton
icon="remove"
icon="minus"
data-test="zoomout"
:text="$tr('zoomOut')"
@click="Cropper && Cropper.zoomOut()"
Expand Down

0 comments on commit 51b8588

Please sign in to comment.