Fix setting opacity multiple times in oldie. Was disabling the filter if it should be enabled and vice-versa
This commit is contained in:
parent
1b88497f44
commit
8d4d347ec9
@ -121,7 +121,7 @@ L.DomUtil = {
|
||||
value = Math.round(value * 100);
|
||||
|
||||
if (filter) {
|
||||
filter.Enabled = (value === 100);
|
||||
filter.Enabled = (value !== 100);
|
||||
filter.Opacity = value;
|
||||
} else {
|
||||
el.style.filter += ' progid:' + filterName + '(opacity=' + value + ')';
|
||||
|
Loading…
Reference in New Issue
Block a user