fix linter issues

This commit is contained in:
JFH
2022-01-04 16:22:17 -03:00
parent 69e485352a
commit 613e33da33
3 changed files with 19 additions and 19 deletions

View File

@@ -96,7 +96,7 @@ class TopPanel {
break
case 'g':
case 'a': {
// Look for common styles
// Look for common styles
const childs = this.selectedElement.getElementsByTagName('*')
let gWidth = null
for (i = 0, len = childs.length; i < len; i++) {
@@ -753,14 +753,14 @@ class TopPanel {
* @param value The text decoration value
* @returns {boolean} false
*/
clickTextDecoration(value) {
if(this.editor.svgCanvas.hasTextDecoration(value)) {
clickTextDecoration (value) {
if (this.editor.svgCanvas.hasTextDecoration(value)) {
this.editor.svgCanvas.removeTextDecoration(value)
} else {
this.editor.svgCanvas.addTextDecoration(value)
}
this.updateContextPanel();
return false;
this.updateContextPanel()
return false
}
/**