From dee32fe8f63c58c8b49dc8d9a2e2662fd952e414 Mon Sep 17 00:00:00 2001 From: agriyadev5 Date: Mon, 23 Aug 2021 16:03:12 +0530 Subject: [PATCH] #603 unwanted function removed --- src/editor/MainMenu.js | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/src/editor/MainMenu.js b/src/editor/MainMenu.js index 840dfbd4..bac71306 100644 --- a/src/editor/MainMenu.js +++ b/src/editor/MainMenu.js @@ -129,20 +129,6 @@ class MainMenu { this.editor.updateCanvas(); this.hidePreferences(); } - - /** - * - * @returns {void} - */ - clickSave() { - // In the future, more options can be provided here - const saveOpts = { - images: this.editor.configObj.pref("img_save"), - round_digits: 6 - }; - this.editor.svgCanvas.save(saveOpts); - } - /** * * @param e @@ -210,16 +196,6 @@ class MainMenu { } } - /** - * By default, this.editor.svgCanvas.open() is a no-op. It is up to an extension - * mechanism (opera widget, etc.) to call `setCustomHandlers()` which - * will make it do something. - * @returns {void} - */ - clickOpen() { - this.editor.svgCanvas.open(); - } - /** * * @returns {void}