mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
consider layer with opacity=0 as transparent
This commit is contained in:
parent
01a0bcf13c
commit
4518f50efa
@ -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 () {
|
||||
|
Loading…
Reference in New Issue
Block a user