#603 unwanted function removed
This commit is contained in:
@@ -129,20 +129,6 @@ class MainMenu {
|
|||||||
this.editor.updateCanvas();
|
this.editor.updateCanvas();
|
||||||
this.hidePreferences();
|
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
|
* @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}
|
* @returns {void}
|
||||||
|
|||||||
Reference in New Issue
Block a user