refactor: ui

This commit is contained in:
cha0s 2022-04-07 10:16:34 -05:00
parent ee76ad1498
commit 508bd7f9d5

View File

@ -281,6 +281,7 @@ function TilesPage({
<div className={styles.brushes}> <div className={styles.brushes}>
<label> <label>
<span>Tileset mode</span> <span>Tileset mode</span>
<div className={styles.brushSelects}>
<select <select
defaultValue={tilesetMode} defaultValue={tilesetMode}
onChange={(event) => { onChange={(event) => {
@ -291,21 +292,15 @@ function TilesPage({
<option value={1}>Draw</option> <option value={1}>Draw</option>
<option value={2}>Fill</option> <option value={2}>Fill</option>
</select> </select>
</label>
</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> </div>
</label> </label>
</div> </div>
)}
<div className={styles.grower} /> <div className={styles.grower} />
<div className={styles.scale}> <div className={styles.scale}>
<label> <label>