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