Add missing manual syntax highlights

A few more spotted in the original HTML
This commit is contained in:
Simon Hausmann 2021-06-17 14:00:55 +02:00
parent cc8da495ae
commit 310a437b88
6 changed files with 16 additions and 16 deletions

View file

@ -7,10 +7,10 @@ consider them solved and they remain open. Otherwise we wait for a little while,
the location of the icons, and then close them again.
We'll modify the `.60` markup inside the `sixtyfps!` macro to signal to the Rust code when the user clicks on a tile.
Two changes to `MainWindow` are needed: We need to add a way for the MainWindow to call to the Rust code that it should
Two changes to <span class="hljs-title">MainWindow</span> are needed: We need to add a way for the MainWindow to call to the Rust code that it should
check if a pair of tiles has been solved. And we need to add a property that Rust code can toggle to disable further
tile interaction, to prevent the player from opening more tiles than allowed. No cheating allowed! First, we paste
the callback and property declarations into `MainWindow`:
the callback and property declarations into <span class="hljs-title">MainWindow</span>:
```60
@ -27,7 +27,7 @@ MainWindow := Window {
...
```
The last change to the `.60` markup is to act when the `MemoryTile` signals that it was clicked on. We add the following handler:
The last change to the `.60` markup is to act when the <code class="hljs-title"> signals that it was clicked on. We add the following handler:
```60
...