File tree Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -67,16 +67,19 @@ for k = 1,8 do
67
67
return 0 / 0
68
68
end
69
69
70
- -- first try if the mask slider at that position is active
71
- local s = { " opacity" ,
72
- " size" ,
73
- " feather" ,
74
- " hardness" ,
75
- " rotation" ,
76
- " curvature" ,
77
- " compression" }
78
- local maskval = dt .gui .action (" lib/masks/properties/" .. s [k ],
79
- element , effect , size )
70
+ local maskval = 0 / 0
71
+ if k < 8 then
72
+ -- first try if the mask slider at that position is active
73
+ local s = { " opacity" ,
74
+ " size" ,
75
+ " feather" ,
76
+ " hardness" ,
77
+ " rotation" ,
78
+ " curvature" ,
79
+ " compression" }
80
+ maskval = dt .gui .action (" lib/masks/properties/" .. s [k ],
81
+ element , effect , size )
82
+ end
80
83
-- if a value different from NAN is returned, the slider was active
81
84
if maskval == maskval then
82
85
return maskval
You can’t perform that action at this time.
0 commit comments