-
-
-
-
-
-
+
+
`;
const div = document.createElement('div');
div.innerHTML = html;
diff --git a/src/editor/components/jgraduate/jQuery.jPicker.js b/src/editor/components/jgraduate/jQuery.jPicker.js
index 3d25e958..61b0190f 100755
--- a/src/editor/components/jgraduate/jQuery.jPicker.js
+++ b/src/editor/components/jgraduate/jQuery.jPicker.js
@@ -17,7 +17,7 @@
*/
/* eslint-disable no-bitwise */
/* eslint-disable max-len */
-/* globals svgEditor */
+/* gl#bals svgEditor */
import ColorValuePicker from './ColorValuePicker.js';
import Slider from './Slider.js';
import { findPos, mergeDeep } from './Util.js';
@@ -632,7 +632,7 @@ export function jPickerMethod (elem, options, commitCallback, liveCallback, canc
content.innerHTML = `
-
+
`;
that.insertAdjacentElement('afterend', content);
@@ -1329,41 +1329,41 @@ export function jPickerMethod (elem, options, commitCallback, liveCallback, canc
${win.expandable ? ' |
' : ''}
- ${win.title || svgEditor.i18next.t('config.jpicker_title')} |
+ ${win.title || 'config.jpicker_title'} |
|
- ${svgEditor.i18next.t('config.jpicker_new_color')} ${svgEditor.i18next.t('config.jpicker_current_color')} |
-
|
+ #svgEditor.i18next.t('config.jpicker_new_color')} #svgEditor.i18next.t('config.jpicker_current_color')} |
+
|
- |
- ° |
+ |
+ ° |
- |
- % |
+ |
+ % |
-
|
- %
|
+
|
+ %
|
- |
- |
+ |
+ |
- |
- |
+ |
+ |
- |
- |
+ |
+ |
- ${win.alphaSupport ? `` : ' '} |
- ${win.alphaSupport ? ` %` : ' '} |
+ ${win.alphaSupport ? `` : ' '} |
+ ${win.alphaSupport ? ` %` : ' '} |
- ${win.alphaSupport ? ` | ` : ' '}
+ ${win.alphaSupport ? ` | ` : ' '}
`;
if (win.expandable) {
diff --git a/src/editor/components/seColorPicker.js b/src/editor/components/seColorPicker.js
index 3fcecc57..9fe6f888 100644
--- a/src/editor/components/seColorPicker.js
+++ b/src/editor/components/seColorPicker.js
@@ -1,5 +1,5 @@
/* eslint-disable max-len */
-/* globals svgEditor */
+/* gl#bals svgEditor */
import { jGraduate, jGraduateMethod } from './jgraduate/jQuery.jGraduate.js';
import PaintBox from './PaintBox.js';
@@ -643,7 +643,7 @@ div.jGraduate_Slider img {
-
+
@@ -693,7 +693,7 @@ export class SeColorPicker extends HTMLElement {
this.setAttribute('title', newValue);
break;
case 'type':
- this.$label.setAttribute('title', svgEditor.i18next.t('config.pick_paint_opavity', { newValue: newValue }));
+ this.$label.setAttribute('title', 'config.pick_paint_opavity');
break;
default:
// eslint-disable-next-line no-console
diff --git a/src/editor/components/sePalette.js b/src/editor/components/sePalette.js
index c679ed7d..1272a7c2 100644
--- a/src/editor/components/sePalette.js
+++ b/src/editor/components/sePalette.js
@@ -1,5 +1,5 @@
/* eslint-disable max-len */
-/* globals svgEditor */
+/* gl#bals svgEditor */
const palette = [
// Todo: Make into configuration item?
'none', '#000000', '#3f3f3f', '#7f7f7f', '#bfbfbf', '#ffffff',
@@ -78,7 +78,8 @@ template.innerHTML = `
}
}
-
+
diff --git a/src/editor/dialogs/cmenuDialog.js b/src/editor/dialogs/cmenuDialog.js
index 5f1a68c2..70ade142 100644
--- a/src/editor/dialogs/cmenuDialog.js
+++ b/src/editor/dialogs/cmenuDialog.js
@@ -1,4 +1,4 @@
-/* globals svgEditor */
+/* gl#bals svgEditor */
const template = document.createElement('template');
// eslint-disable-next-line no-unsanitized/property
template.innerHTML = `
@@ -68,53 +68,53 @@ template.innerHTML = `
diff --git a/src/editor/dialogs/cmenuLayersDialog.js b/src/editor/dialogs/cmenuLayersDialog.js
index 748eaf36..7c6e3096 100644
--- a/src/editor/dialogs/cmenuLayersDialog.js
+++ b/src/editor/dialogs/cmenuLayersDialog.js
@@ -1,4 +1,4 @@
-/* globals svgEditor */
+/* gl#bals svgEditor */
const template = document.createElement('template');
// eslint-disable-next-line no-unsanitized/property
template.innerHTML = `
@@ -66,10 +66,10 @@ template.innerHTML = `
}
`;
/**
diff --git a/src/editor/dialogs/editorPreferencesDialog.js b/src/editor/dialogs/editorPreferencesDialog.js
index 48372353..a286282a 100644
--- a/src/editor/dialogs/editorPreferencesDialog.js
+++ b/src/editor/dialogs/editorPreferencesDialog.js
@@ -1,4 +1,4 @@
-/* globals svgEditor */
+/* gl#bals svgEditor */
const template = document.createElement('template');
// eslint-disable-next-line no-unsanitized/property
template.innerHTML = `
@@ -150,16 +150,16 @@ template.innerHTML = `