Skip to content
Snippets Groups Projects
Commit c7df6505 authored by Laurent Knoll's avatar Laurent Knoll
Browse files

Règle sur 10cm. Closes #4

parent ad74b64d
No related branches found
No related tags found
No related merge requests found
......@@ -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)),
......
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment