This commit is contained in:
Maciej Caderek
2022-03-12 02:39:05 +01:00
parent 56dd03f1a0
commit bdb1fb3e34
8 changed files with 39 additions and 23 deletions

View File

@@ -38,21 +38,13 @@ const Controls: Component<{ handlers: Handlers }> = (props) => {
<i class="las la-angle-right"></i>
</button>
<button
class="controls__button"
class="controls__button controls__button--last"
onClick={props.handlers.last}
title="LAST"
>
<i class="las la-angle-double-right"></i>
</button>
<button
onClick={props.handlers.flip}
title="FLIP"
classList={{
options__button: true,
"options__button--last": true,
"options__button--active": true,
}}
>
<button onClick={props.handlers.flip} title="FLIP" class="flip__button">
<i
classList={{
rotated: state.boardConfig.flipped,