mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2024-12-22 21:42:30 -05:00
Merge pull request #157 from paulkaplan/fix-zoom-buttons
Swap zoom in and out buttons
This commit is contained in:
commit
02996af315
1 changed files with 6 additions and 6 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue