Skip to content

Commit 172e661

Browse files
committed
Merge 8f2f110 into master
2 parents ad88e90 + 8f2f110 commit 172e661

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/ui.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
UI
22
--
33

4-
Up next are the UI elements: The text messages at the beginning and end of the game and the
4+
Up next are the UI elements. The text messages at the beginning and end of the game and the
55
clock at the top left of the screen.
66

77
We need two more imports:
@@ -21,7 +21,7 @@ The start message is a constant and therefore defined with the models:
2121
{% codesnippet "https://raw.githubusercontent.com/macrozone/elm-hexagon-tutorial/chapter/ui/src/Hexagon.elm", lines="84:84" %}{% endcodesnippet %}
2222

2323
We need a helper function to transform the string to an `Element` type. The function is going to format
24-
the text as well. The first argument of the function is the font size, the second argument the text
24+
the text as well. The first argument of the function is the font size, the second argument is the text
2525
string.
2626

2727
// makeTextBox
@@ -48,7 +48,7 @@ The value of the `message` box depends on the state of the game. It is either "G
4848
"Pause" or empty.
4949

5050
The `toForm` method turns an `Element` into a `Form` object. That way it can be modified later on.
51-
In our case it is moved to the correct position on the screen.
51+
In this case it is moved to the correct position on the screen.
5252

5353
// view
5454
{% codesnippet "https://raw.githubusercontent.com/macrozone/elm-hexagon-tutorial/chapter/ui/src/Hexagon.elm", lines="338:372" %}{% endcodesnippet %}

0 commit comments

Comments
 (0)