Generalize To mask command to all cases

This commit is contained in:
MathemanFlo
2022-03-05 13:55:48 +01:00
parent 7f9118ba47
commit dcbc2807eb
+2 -2
View File
@@ -907,8 +907,8 @@ class Layers {
public static function createImageMask(asset: TAsset) {
var l = Context.layer;
if (l.isMask() || l.isGroup()) {
return;
if (l.isMask()) {
l = l.parent;
}
History.newLayer();