We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a774d16 commit 00ce592Copy full SHA for 00ce592
src/plugin/Profiles.lua
@@ -79,7 +79,11 @@ local function doprofilechange(newprofile)
79
if altparam == 'Direct' then
80
lrvalue = LrDevelopController.getValue(param)
81
else
82
- lrvalue = (photoval[param] or 0) + (photoval[altparam] or 0)
+ if param == altparam then
83
+ lrvalue = (photoval[param] or 0)
84
+ else
85
+ lrvalue = (photoval[param] or 0) + (photoval[altparam] or 0)
86
+ end
87
end
88
if type(min) == 'number' and type(max) == 'number' and type(lrvalue) == 'number' then
89
local midivalue = (lrvalue-min)/(max-min)
0 commit comments