Skip to content

Commit

Permalink
Update brightness_filter documentation (fabricjs#4727)
Browse files Browse the repository at this point in the history
The value range for brightness changed to floating point range [-1.0,1.0]
  • Loading branch information
fellhorn authored and asturur committed Feb 18, 2018
1 parent 9c589ca commit 8c94446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filters/brightness_filter.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* @see {@link http://fabricjs.com/image-filters|ImageFilters demo}
* @example
* var filter = new fabric.Image.filters.Brightness({
* brightness: 200
* brightness: 0.05
* });
* object.filters.push(filter);
* object.applyFilters();
Expand Down

0 comments on commit 8c94446

Please sign in to comment.