Fix incorrect opacity check
This commit is contained in:
parent
9dc03f6d47
commit
820beb7c93
@ -359,7 +359,7 @@ function isElementTransparent(element) {
|
||||
}
|
||||
const style = window.getComputedStyle(element);
|
||||
return (
|
||||
parseFloat(style.opacity) < 0 ||
|
||||
parseFloat(style.opacity) <= 0 ||
|
||||
style.visibility === 'hidden' ||
|
||||
(style.backgroundImage === 'none' && isColorTransparent(style.backgroundColor))
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user