File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11UI
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
55clock at the top left of the screen.
66
77We 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
2323We 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
2525string.
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
5050The `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 %}
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments