Skip to content

Commit

Permalink
Merge pull request #89 from EboMike/morecleanup
Browse files Browse the repository at this point in the history
Make replay buttons larger.
  • Loading branch information
spookybear0 authored May 21, 2024
2 parents 4ffeeb9 + b2f5a7d commit 5d2c69c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions assets/html/game/replay.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
.control {
margin-left: 0.25rem;
margin-right: 0.25rem;
font-size: x-large;
}

#replay_viewer {
Expand Down Expand Up @@ -182,6 +183,13 @@
height: 20vh;
}

.control {
margin-left: 0.5rem;
margin-right: 0.5rem;
padding: 0.5rem;
font-size: xx-large;
}

table tr th:nth-child(n+7), table tr th:nth-child(n+7), table tr td:nth-child(n+7), table tr td:nth-child(n+7) {
display: none;
}
Expand Down
2 changes: 1 addition & 1 deletion helpers/sm5helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ def _remove_lives(current_lives: dict[int, int], entity_id_to_end_id: dict[str,

def _add_lives(current_lives: dict[int, int], entity_id_to_end_id: dict[str, int], entity_id: str,
lives_to_add: int, max_lives: int):
if not entity_id in entity_id_to_end_id:
if entity_id not in entity_id_to_end_id:
return

entity_end_id = entity_id_to_end_id[entity_id]
Expand Down

0 comments on commit 5d2c69c

Please sign in to comment.