diff --git a/front/src/reducers/osrdconf/stdcmConf/index.ts b/front/src/reducers/osrdconf/stdcmConf/index.ts index 1accb61a497..cec7811a2cb 100644 --- a/front/src/reducers/osrdconf/stdcmConf/index.ts +++ b/front/src/reducers/osrdconf/stdcmConf/index.ts @@ -37,8 +37,8 @@ export const stdcmConfInitialState: OsrdStdcmConfState = { ], margins: { standardAllowance: { type: 'time_per_distance', value: 4.5 }, - gridMarginBefore: new Duration({ seconds: 15 }), - gridMarginAfter: new Duration({ seconds: 15 }), + gridMarginBefore: new Duration({ seconds: 0 }), + gridMarginAfter: new Duration({ seconds: 0 }), }, totalMass: undefined, totalLength: undefined, @@ -113,8 +113,8 @@ export const stdcmConfSlice = createSlice({ resetMargins(state: Draft) { state.margins = { standardAllowance: { type: 'time_per_distance', value: 4.5 }, - gridMarginBefore: new Duration({ seconds: 15 }), - gridMarginAfter: new Duration({ seconds: 15 }), + gridMarginBefore: new Duration({ seconds: 0 }), + gridMarginAfter: new Duration({ seconds: 0 }), }; }, updateStandardAllowance(