Space between if and bracket

This commit is contained in:
Joren Dandois 2020-07-04 01:54:34 +02:00
parent 3b623c7165
commit a4d3d441db

View File

@ -182,7 +182,7 @@
var layer = this.piskelController.getLayerAt(parseInt(index, 10));
var opacity = window.prompt('Set layer opacity (value between 0 and 1)', layer.getOpacity());
this.piskelController.setLayerOpacityAt(index, opacity);
} else if(el.classList.contains('layer-lock')) {
} else if (el.classList.contains('layer-lock')) {
index = pskl.utils.Dom.getData(el, 'layerIndex');
var layer = this.piskelController.getLayerAt(parseInt(index, 10));
this.piskelController.setLayerLockedAt(index, layer.getLocked());