Skip to content

Commit

Permalink
Merge pull request #269 from TruncateGame/small-things
Browse files Browse the repository at this point in the history
Small things
  • Loading branch information
bglw authored Jul 13, 2024
2 parents f658754 + ece7e81 commit 599e023
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 14 deletions.
46 changes: 36 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion truncate_client/src/lil_bits/board.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ impl<'a> BoardUI<'a> {

interactions.selected_tile_in_hand = None;
interactions.selected_square_on_board = None;
} else {
} else if !depot.ui_state.is_touch {
if interactions
.selected_square_on_board
.is_some_and(|(c, _)| c == coord)
Expand Down
8 changes: 5 additions & 3 deletions web_client/src/_includes/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -502,9 +502,11 @@ <h2>Many thanks to the word data sources:</h2>
this.multiStage();
});

this.button("Tutorials", () => {
this.learnStage();
});
if (has_played_tut) {
this.button("Tutorials", () => {
this.learnStage();
});
}
}

learnStage() {
Expand Down

0 comments on commit 599e023

Please sign in to comment.