From aff9457b4d004c622a824412cc032b1db3a1db52 Mon Sep 17 00:00:00 2001 From: ivmartel Date: Wed, 30 Aug 2023 13:32:54 +0200 Subject: [PATCH] Fix typo in method name (toogle -> toggle) --- src/gui/drawLayer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') {