fix prefs

This commit is contained in:
JFH
2021-01-01 17:19:57 +01:00
parent 7e33ea2bdc
commit 16f05f1aee
20 changed files with 47 additions and 47 deletions

View File

@@ -31,7 +31,7 @@ export default {
// addElem = svgCanvas.addSVGElementFromJson,
svgdoc = S.svgroot.parentNode.ownerDocument;
const strings = await loadExtensionTranslation(svgEditor.pref('lang'));
const strings = await loadExtensionTranslation(svgEditor.configObj.pref('lang'));
const properlySourceSizeTextArea = function () {
// TODO: remove magic numbers here and get values from CSS