Skip to content

Commit

Permalink
fix saved result display settings not being loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
stuffmatic committed Nov 13, 2018
1 parent 30af991 commit c6c3e73
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/gui/reducers/result-display-settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ export function resultDisplaySettings(state: ResultDisplaySettings | undefined,
...state,
displayAbsoluteFocalLength: action.displayAbsoluteFocalLength
}
case ActionTypes.LOAD_STATE:
return {
...state,
...action.savedState.resultDisplaySettings
}
}

return state
Expand Down

0 comments on commit c6c3e73

Please sign in to comment.