extract config related code to ConfigObj

This commit is contained in:
JFH
2020-12-19 01:41:30 +01:00
parent 594b4c68d8
commit ed7d672815
20 changed files with 564 additions and 567 deletions

View File

@@ -23,7 +23,7 @@ export default {
name: 'eyedropper',
async init (S) {
const svgEditor = this;
const strings = await loadExtensionTranslation(svgEditor.curPrefs.lang);
const strings = await loadExtensionTranslation(svgEditor.pref('lang'));
const {$, ChangeElementCommand} = S, // , svgcontent,
// svgdoc = S.svgroot.parentNode.ownerDocument,
svgCanvas = svgEditor.canvas,