refactor: ui
This commit is contained in:
parent
ee76ad1498
commit
508bd7f9d5
|
@ -281,31 +281,26 @@ function TilesPage({
|
||||||
<div className={styles.brushes}>
|
<div className={styles.brushes}>
|
||||||
<label>
|
<label>
|
||||||
<span>Tileset mode</span>
|
<span>Tileset mode</span>
|
||||||
<select
|
<div className={styles.brushSelects}>
|
||||||
defaultValue={tilesetMode}
|
<select
|
||||||
onChange={(event) => {
|
defaultValue={tilesetMode}
|
||||||
setTilesetMode(parseInt(event.target.value, 10));
|
onChange={(event) => {
|
||||||
}}
|
setTilesetMode(parseInt(event.target.value, 10));
|
||||||
>
|
}}
|
||||||
<option value={0}>Pan</option>
|
>
|
||||||
<option value={1}>Draw</option>
|
<option value={0}>Pan</option>
|
||||||
<option value={2}>Fill</option>
|
<option value={1}>Draw</option>
|
||||||
</select>
|
<option value={2}>Fill</option>
|
||||||
</label>
|
</select>
|
||||||
</div>
|
{2 === tilesetMode && (
|
||||||
{2 === tilesetMode && (
|
|
||||||
<div className={styles.fillType}>
|
|
||||||
<label>
|
|
||||||
<span>Fill type</span>
|
|
||||||
<div>
|
|
||||||
<select>
|
<select>
|
||||||
<option>Tiling</option>
|
<option>Tiling</option>
|
||||||
<option>Random</option>
|
<option>Random</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
)}
|
||||||
</label>
|
</div>
|
||||||
</div>
|
</label>
|
||||||
)}
|
</div>
|
||||||
<div className={styles.grower} />
|
<div className={styles.grower} />
|
||||||
<div className={styles.scale}>
|
<div className={styles.scale}>
|
||||||
<label>
|
<label>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user