mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2024-12-23 05:52:42 -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>
|
<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>
|
||||||
|
|
Loading…
Reference in a new issue