File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
photon-client/src/views/PipelineViews Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 3131 <CVslider
3232 v-if =" cameraGain >= 0"
3333 v-model =" cameraGain"
34- name =" Camera gain "
34+ name =" Camera Gain "
3535 min =" 0"
3636 max =" 100"
3737 tooltip =" Controls camera gain, similar to brightness"
3838 :slider-cols =" largeBox"
39- @input =" handlePipelineData('cameraRedGain ')"
40- @rollback =" e => rollback('cameraRedGain ', e)"
39+ @input =" handlePipelineData('cameraGain ')"
40+ @rollback =" e => rollback('cameraGain ', e)"
4141 />
4242 <CVslider
4343 v-if =" cameraRedGain !== -1"
144144 this .$store .commit (" mutatePipeline" , {" cameraBrightness" : parseInt (val)});
145145 }
146146 },
147+ cameraGain: {
148+ get () {
149+ return parseInt (this .$store .getters .currentPipelineSettings .cameraGain )
150+ },
151+ set (val ) {
152+ this .$store .commit (" mutatePipeline" , {" cameraGain" : parseInt (val)});
153+ }
154+ },
147155 cameraRedGain: {
148156 get () {
149157 return parseInt (this .$store .getters .currentPipelineSettings .cameraRedGain )
You can’t perform that action at this time.
0 commit comments