consider layer with opacity=0 as transparent

This commit is contained in:
Julian Descottes 2016-07-04 00:23:03 +02:00
parent 01a0bcf13c
commit 4518f50efa

View File

@ -44,7 +44,7 @@
};
ns.Layer.prototype.isTransparent = function () {
return this.opacity > 0 && this.opacity < 1;
return this.opacity < 1;
};
ns.Layer.prototype.getFrames = function () {