SDA-2533 Add clear, erase and done functionality. Further optimizations of logic.

This commit is contained in:
psjostrom
2020-11-19 09:17:39 +01:00
parent ab8e6ae053
commit 94eb41719b
3 changed files with 15 additions and 15 deletions

View File

@@ -63,19 +63,19 @@ exports[`Snipping Tool should render correctly 1`] = `
>
<AnnotateArea
chosenTool="PEN"
data-testid="annotate-component"highlightColor="rgba(0, 142, 255, 0.64)"
imageDimensions={
Object {
"height": 600,
"width": 800,
}
data-testid="annotate-component"
highlightColor="rgba(0, 142, 255, 0.64)"
imageDimensions={
Object {
"height": 600,
"width": 800,
}
onChange={[Function]}
paths={Array []}
penColor="rgba(0, 142, 255, 1)"
screenSnippetPath="Screen-Snippet"
/>
</div>
}
onChange={[Function]}
paths={Array []}
penColor="rgba(0, 142, 255, 1)"
screenSnippetPath="Screen-Snippet"
/></div>
</main>
<footer>
<button