Skip to content

Commit c6c3e73

Browse files
committed
fix saved result display settings not being loaded
1 parent 30af991 commit c6c3e73

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/gui/reducers/result-display-settings.ts

+5
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ export function resultDisplaySettings(state: ResultDisplaySettings | undefined,
2828
...state,
2929
displayAbsoluteFocalLength: action.displayAbsoluteFocalLength
3030
}
31+
case ActionTypes.LOAD_STATE:
32+
return {
33+
...state,
34+
...action.savedState.resultDisplaySettings
35+
}
3136
}
3237

3338
return state

0 commit comments

Comments
 (0)