remove redundant $s in Game.hs
This commit is contained in:
		
							parent
							
								
									55f87143b4
								
							
						
					
					
						commit
						d162cffc8b
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -231,8 +231,8 @@ drawInfo :: Game -> Widget Name
 | 
			
		|||
drawInfo g = hLimit 18 -- size of next piece box
 | 
			
		||||
  $ vBox
 | 
			
		||||
    [ drawNextShape (g ^. nextShape)
 | 
			
		||||
    , padTop (Pad 1) $ drawHelp
 | 
			
		||||
    , padTop (Pad 1) $ drawGameOver g
 | 
			
		||||
    , padTop (Pad 1) drawHelp
 | 
			
		||||
    , padTop (Pad 1) (drawGameOver g)
 | 
			
		||||
    ]
 | 
			
		||||
 | 
			
		||||
drawNextShape :: Tetrimino -> Widget Name
 | 
			
		||||
| 
						 | 
				
			
			@ -258,7 +258,7 @@ drawHelp =
 | 
			
		|||
    $ padTopBottom 1
 | 
			
		||||
    $ vBox
 | 
			
		||||
    $ map (uncurry drawKeyInfo)
 | 
			
		||||
    $ [ ("Left"   , "h, ←")
 | 
			
		||||
      [ ("Left"   , "h, ←")
 | 
			
		||||
      , ("Right"  , "l, →")
 | 
			
		||||
      , ("Down"   , "j, ↓")
 | 
			
		||||
      , ("Rotate" , "k, ↑")
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue