Prune {Select,Deselect}AllKeys actions
Removing more unused code attempting to focus this app's scope.
This commit is contained in:
		
							parent
							
								
									11b140b6ae
								
							
						
					
					
						commit
						8620d86fd0
					
				
					 1 changed files with 0 additions and 19 deletions
				
			
		| 
						 | 
				
			
			@ -17,8 +17,6 @@ type Msg
 | 
			
		|||
    | ToggleKey Theory.Key
 | 
			
		||||
    | DoNothing
 | 
			
		||||
    | SetPracticeMode PracticeMode
 | 
			
		||||
    | SelectAllKeys
 | 
			
		||||
    | DeselectAllKeys
 | 
			
		||||
    | SetView View
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -125,23 +123,6 @@ update msg model =
 | 
			
		|||
            , Cmd.none
 | 
			
		||||
            )
 | 
			
		||||
 | 
			
		||||
        SelectAllKeys ->
 | 
			
		||||
            ( { model
 | 
			
		||||
                | whitelistedKeys = Theory.allKeys
 | 
			
		||||
                , whitelistedChords =
 | 
			
		||||
                    Theory.allKeys |> List.concatMap Theory.chordsForKey
 | 
			
		||||
              }
 | 
			
		||||
            , Cmd.none
 | 
			
		||||
            )
 | 
			
		||||
 | 
			
		||||
        DeselectAllKeys ->
 | 
			
		||||
            ( { model
 | 
			
		||||
                | whitelistedKeys = []
 | 
			
		||||
                , whitelistedChords = []
 | 
			
		||||
              }
 | 
			
		||||
            , Cmd.none
 | 
			
		||||
            )
 | 
			
		||||
 | 
			
		||||
        NewChord chord ->
 | 
			
		||||
            ( { model | selectedChord = Just chord }
 | 
			
		||||
            , Cmd.none
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue