Skip to content

Commit

Permalink
fix(dawing)(dsfr): icon disparait en fermant et réouvrant (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
azarz authored Dec 2, 2024
1 parent 6d6e2ef commit 54caae3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "geopf-extensions-openlayers",
"description": "French Geoportal Extensions for OpenLayers libraries",
"version": "1.0.0-beta.0-290",
"version": "1.0.0-beta.0-292",
"date": "02/12/2024",
"module": "src/index.js",
"directories": {},
Expand Down
2 changes: 1 addition & 1 deletion src/packages/Controls/Drawing/Drawing.js
Original file line number Diff line number Diff line change
Expand Up @@ -1964,7 +1964,7 @@ var Drawing = class Drawing extends Control {
if (this.dtOptions.hasOwnProperty(toolsType)) {
if (this.dtOptions[toolsType].active) {
var toolsId = this._addUID("drawing-tool-" + this.dtOptions[toolsType].id);
document.getElementById(toolsId).className = "drawing-tool";
document.getElementById(toolsId).className = "drawing-tool fr-m-1w fr-btn fr-btn--tertiary gpf-btn--tertiary";
this.dtOptions[toolsType].active = false;
}
}
Expand Down

0 comments on commit 54caae3

Please sign in to comment.