dependencies update and fix lint unused disabled line
This commit is contained in:
@@ -119,7 +119,7 @@ export const addToSelectionMethod = function (elemsToAdd, showGrips) {
|
||||
|
||||
selectedElements.sort(function (a, b) {
|
||||
if (a && b && a.compareDocumentPosition) {
|
||||
return 3 - (b.compareDocumentPosition(a) & 6); // eslint-disable-line no-bitwise
|
||||
return 3 - (b.compareDocumentPosition(a) & 6);
|
||||
}
|
||||
if (!a) {
|
||||
return 1;
|
||||
|
||||
@@ -18,7 +18,6 @@ import {
|
||||
init as pasteInit, pasteElementsMethod
|
||||
} from './paste-elem.js';
|
||||
|
||||
// eslint-disable-next-line no-duplicate-imports
|
||||
import {
|
||||
identifyLayers, createLayer, cloneLayer, deleteCurrentLayer,
|
||||
setCurrentLayer, renameCurrentLayer, setCurrentLayerPosition,
|
||||
|
||||
@@ -222,7 +222,6 @@ export const changeSelectedAttributeNoUndoMethod = function (attr, newValue, ele
|
||||
// that are not in the selectedElements array, we need to only request a
|
||||
// selector if the element is in that array
|
||||
if (selectedElements.includes(elem)) {
|
||||
// eslint-disable-next-line no-loop-func
|
||||
setTimeout(function () {
|
||||
// Due to element replacement, this element may no longer
|
||||
// be part of the DOM
|
||||
|
||||
Reference in New Issue
Block a user