This commit is contained in:
Sergey Stepanov 2024-04-22 11:43:38 +03:00
parent 8caad44ade
commit d922e58278
4 changed files with 4 additions and 4 deletions

View file

@ -651,9 +651,9 @@ body {
background: #000;
opacity: .465;
font-size: 2vh;
font-size: 1.45vh;
font-family: monospace;
min-width: 3.5em;
min-width: 3em;
padding-right: .2em;

View file

@ -1,3 +1,4 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"/>

View file

@ -458,7 +458,6 @@ sub(MESSAGE, onMessage);
sub(GAME_ROOM_AVAILABLE, onGameRoomAvailable, 2);
sub(GAME_SAVED, () => message.show('Saved'));
sub(GAME_LOADED, () => message.show('Loaded'));
sub(GAME_PLAYER_IDX, data => {
updatePlayerIndex(+data.index, state !== app.state.game);
});

View file

@ -33,7 +33,7 @@ const select = (key = '', callback = () => ({}), values = {values: [], labels: [
select.append(_option(0, current === '', 'none'));
values.values.forEach((value, index) => {
select.append(_option(value, current === value, values.labels?.[index]));
select.append(_option(value, current == value, values.labels?.[index]));
});
return el;