mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2024-12-23 14:02:50 -05:00
Hide stroke indicators in bitmap mode
This commit is contained in:
parent
9c84537a42
commit
c9c04745bc
1 changed files with 50 additions and 28 deletions
|
@ -310,6 +310,7 @@ const PaintEditorComponent = props => {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Second Row */}
|
{/* Second Row */}
|
||||||
|
{isVector(props.format) ?
|
||||||
<div className={styles.row}>
|
<div className={styles.row}>
|
||||||
<InputGroup
|
<InputGroup
|
||||||
className={classNames(
|
className={classNames(
|
||||||
|
@ -337,7 +338,28 @@ const PaintEditorComponent = props => {
|
||||||
onUpdateSvg={props.onUpdateSvg}
|
onUpdateSvg={props.onUpdateSvg}
|
||||||
/>
|
/>
|
||||||
</InputGroup>
|
</InputGroup>
|
||||||
|
</div> :
|
||||||
|
<div className={styles.row}>
|
||||||
|
<InputGroup
|
||||||
|
className={classNames(
|
||||||
|
styles.row,
|
||||||
|
styles.modDashedBorder,
|
||||||
|
styles.modLabeledIconHeight
|
||||||
|
)}
|
||||||
|
>
|
||||||
|
{/* fill */}
|
||||||
|
<FillColorIndicatorComponent
|
||||||
|
className={styles.modMarginRight}
|
||||||
|
onUpdateSvg={props.onUpdateSvg}
|
||||||
|
/>
|
||||||
|
</InputGroup>
|
||||||
|
<InputGroup className={styles.modModeTools}>
|
||||||
|
<ModeToolsContainer
|
||||||
|
onUpdateSvg={props.onUpdateSvg}
|
||||||
|
/>
|
||||||
|
</InputGroup>
|
||||||
</div>
|
</div>
|
||||||
|
}
|
||||||
</div>
|
</div>
|
||||||
) : null}
|
) : null}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue