mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-01-03 10:31:54 +01:00
Fix group filtering in revertProperties
This commit is contained in:
parent
8bfaf63a99
commit
3d881d3c7d
@ -155,12 +155,12 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (group){
|
if (group){
|
||||||
const remainingProperties = changedProperties.filter(function({group}){
|
const remainingProperties = changedProperties.filter(function(changedProperty){
|
||||||
return group !== group;
|
return changedProperty.group !== group;
|
||||||
});
|
});
|
||||||
changedPropertiesByWindow.set(window, remainingProperties);
|
changedPropertiesByWindow.set(window, remainingProperties);
|
||||||
changedProperties = changedProperties.filter(function({group}){
|
changedProperties = changedProperties.filter(function(changedProperty){
|
||||||
return group === group;
|
return changedProperty.group === group;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user