diff options
| author | Samuel Degueldre <sad@odoo.com> | 2020-06-22 08:29:33 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2020-08-19 08:30:41 +0000 |
| commit | 4575c188c4e24e07897719b31d124af5c3c30e06 (patch) | |
| tree | 66708d0f541b8f58f9b1a4330076747b762f3b84 /addons/web_editor/static/src | |
| parent | 2b1764d879bb9f667b6c61b227e173d1d7224da3 (diff) | |
[IMP] web_editor: add amount parameter to colorMatrix
When compositing filters, it is often the case that you only want to
partially apply a filter. This commit adds an optional "amount"
parameter to the colorMatrix filter, and computes a weighted average
between the identity matrix and the passed in colorMatrix. This
parameter defaults to 1, meaning the effect is applied in full if no
amount is specified.
This is a change in the webgl-image-filter library, currently awaiting
merge into upstream at https://github.com/phoboslab/WebGLImageFilter/pull/25
Part of https://github.com/odoo/odoo/pull/53114
task-2279190
Diffstat (limited to 'addons/web_editor/static/src')
0 files changed, 0 insertions, 0 deletions
