mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-13 20:00:05 +01:00
Corrected brightness default view (#509)
This commit is contained in:
committed by
Jeffrey Warren
parent
f152a78e70
commit
108e87996a
@@ -20,6 +20,8 @@ module.exports = function Brightness(options,UI){
|
||||
var step = this;
|
||||
|
||||
function changePixel(r, g, b, a){
|
||||
options.brightness =
|
||||
options.brightness || 100
|
||||
var val = (options.brightness)/100.0
|
||||
|
||||
r = val*r<255?val*r:255
|
||||
|
||||
Reference in New Issue
Block a user