Merge pull request #157 from paulkaplan/fix-zoom-buttons

Swap zoom in and out buttons
This commit is contained in:
Paul Kaplan 2017-10-30 08:53:43 -04:00 committed by GitHub
commit 02996af315
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -261,12 +261,12 @@ class PaintEditorComponent extends React.Component {
<ButtonGroup> <ButtonGroup>
<Button <Button
className={styles.buttonGroupButton} className={styles.buttonGroupButton}
onClick={this.props.onZoomIn} onClick={this.props.onZoomOut}
> >
<img <img
alt="Zoom In" alt="Zoom Out"
className={styles.buttonGroupButtonIcon} className={styles.buttonGroupButtonIcon}
src={zoomInIcon} src={zoomOutIcon}
/> />
</Button> </Button>
<Button <Button
@ -281,12 +281,12 @@ class PaintEditorComponent extends React.Component {
</Button> </Button>
<Button <Button
className={styles.buttonGroupButton} className={styles.buttonGroupButton}
onClick={this.props.onZoomOut} onClick={this.props.onZoomIn}
> >
<img <img
alt="Zoom Out" alt="Zoom In"
className={styles.buttonGroupButtonIcon} className={styles.buttonGroupButtonIcon}
src={zoomOutIcon} src={zoomInIcon}
/> />
</Button> </Button>
</ButtonGroup> </ButtonGroup>