temporary fix (see comment)

rollup behavior makes svgEditor global variable inaccessible -> dist does not work.
This fix is temporary by removing use of the variable until we solve this rollup config issue or find a different approach
This commit is contained in:
JFH
2021-05-20 23:43:31 +02:00
parent 267f0bc14b
commit 1f5134bff3
11 changed files with 118 additions and 118 deletions

View File

@@ -1,4 +1,4 @@
/* globals svgEditor */
/* gl#bals svgEditor */
import './se-elix/define/NumberSpinBox.js';
const template = document.createElement('template');
@@ -59,7 +59,7 @@ template.innerHTML = `
<div id="dialog_container">
<div id="dialog_content">
<p class="se-select">
${svgEditor.i18next.t('ui.export_type_label')}
#{svgEditor.i18next.t('ui.export_type_label')}
</p>
<p class="se-select">
<select id="se-storage-pref">
@@ -70,14 +70,14 @@ template.innerHTML = `
<option value="PDF">PDF</option>
</select>
</p>
<p id="se-quality">${svgEditor.i18next.t('ui.quality')}<elix-number-spin-box min="-1" max="101" step="5" value="100"></elix-number-spin-box></p>
<p id="se-quality">#{svgEditor.i18next.t('ui.quality')}<elix-number-spin-box min="-1" max="101" step="5" value="100"></elix-number-spin-box></p>
</div>
<div id="dialog_buttons">
<button id="export_ok">
${svgEditor.i18next.t('common.ok')}
#{svgEditor.i18next.t('common.ok')}
</button>
<button id="export_cancel">
${svgEditor.i18next.t('common.cancel')}
#{svgEditor.i18next.t('common.cancel')}
</button>
</div>
</div>