Skip to content

Commit

Permalink
Add rotate button svg
Browse files Browse the repository at this point in the history
  • Loading branch information
nboisteault committed Dec 19, 2024
1 parent 58124f3 commit e6a285f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion assets/src/components/Digitizing.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import '../images/svg/text.svg';

import '../images/svg/pencil.svg';
import '../images/svg/edit.svg';
import '../images/svg/rotate.svg';
import '../images/svg/eraser.svg';
import '../images/svg/eraser-all.svg';
import '../images/svg/save.svg';
Expand Down Expand Up @@ -154,7 +155,7 @@ export default class Digitizing extends HTMLElement {
</button>
<button type="button" class="digitizing-rotate btn ${mainLizmap.digitizing.isRotate ? 'active btn-primary' : ''}" ?disabled=${!mainLizmap.digitizing.featureDrawn} @click=${() => mainLizmap.digitizing.toggleRotate()} data-bs-toggle="tooltip" data-bs-title="${lizDict['digitizing.toolbar.rotate']}">
<svg>
<use xlink:href="#edit"/>
<use xlink:href="#rotate"/>
</svg>
</button>
<button type="button" class="digitizing-erase btn ${mainLizmap.digitizing.isErasing ? 'active btn-primary' : ''}" ?disabled=${!mainLizmap.digitizing.featureDrawn} @click=${() => mainLizmap.digitizing.toggleErasing()} data-bs-toggle="tooltip" data-bs-title="${lizDict['digitizing.toolbar.erase']}">
Expand Down
1 change: 1 addition & 0 deletions assets/src/images/svg/rotate.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e6a285f

Please sign in to comment.