diff --git a/src/gui/drawLayer.js b/src/gui/drawLayer.js index 8a02b4d8ac..d489c9078f 100644 --- a/src/gui/drawLayer.js +++ b/src/gui/drawLayer.js @@ -471,7 +471,7 @@ export class DrawLayer { * @param {string} id The id of the group. * @returns {boolean} False if the group cannot be found. */ - toogleGroupVisibility(id) { + toggleGroupVisibility(id) { // get the group const group = this.#drawController.getGroup(id); if (typeof group === 'undefined') {