Skip to content

Commit 9508810

Browse files
authored
Merge pull request #5692 from rldhont/fix-component-digitizing
JS component digitizing and Draw e2e tests
2 parents 109f485 + 097d233 commit 9508810

File tree

3 files changed

+439
-219
lines changed

3 files changed

+439
-219
lines changed

assets/src/components/Digitizing.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ export default class Digitizing extends HTMLElement {
190190
<button
191191
type="button"
192192
class="digitizing-selected-tool btn ${this.deactivate ? '' : 'active btn-primary'}"
193+
value="${toolSelected}"
193194
@click=${(event) => {this.toggleToolSelected(event)}}
194195
>
195196
<svg>
@@ -285,7 +286,7 @@ export default class Digitizing extends HTMLElement {
285286
</button>
286287
<button
287288
type="button"
288-
class="digitizing-all btn"
289+
class="digitizing-erase-all btn"
289290
?disabled=${!mainLizmap.digitizing.featureDrawn}
290291
@click=${() => this.eraseAll()}
291292
data-bs-toggle="tooltip"

0 commit comments

Comments
 (0)