diff --git a/src/lab.tsx b/src/lab.tsx index 3b30ebac641bb1e3382acf614f9db37df109e4cc..333af5a910162124477328e54956c6c59ba918b4 100644 --- a/src/lab.tsx +++ b/src/lab.tsx @@ -153,7 +153,7 @@ export class Lab extends React.Component<{}> { filename: filename, - rulerTickCount : 9, + rulerTickCount : 10, rulerCoords: new VectorCoords(new paper.Point(width * 0.25, height / 2), new paper.Point(width * 0.75, height / 2)), diff --git a/src/steps/rulerStep.tsx b/src/steps/rulerStep.tsx index 5c0a4c2c433ef44c4020ab69a3685b0a0eea97a1..7cb193738158ee587898d57c3b875e26898b8050 100644 --- a/src/steps/rulerStep.tsx +++ b/src/steps/rulerStep.tsx @@ -32,7 +32,7 @@ export class RulerStep extends Step<StepState> { return <div> <div> <Alert show={!this.state.activable} variant="warning" className={"p-1"}>Veuillez charger une photo.</Alert> - <p>Positionnez la règle sur la photo. La règle doit couvrir 9 cm.</p> + <p>Positionnez la règle sur la photo. La règle doit couvrir 10 cm.</p> <Alert variant={"light"} className={"p-2"}><i className="ms-1 me-1 fa-solid fa-circle-info"></i> Appuyez ici <Button disabled={!this.state.active} onClick={this.zoomOnRuler.bind(this)} size={"sm"}><i className={"fa-solid fa-magnifying-glass-location"}></i></Button> pour placer la règle avec précision.</Alert> <Button variant={"success"} disabled={!this.state.active} onClick={this.terminate.bind(this)}>Terminé !</Button> </div>