mirror of
https://github.com/micku7zu/vanilla-tilt.js
synced 2024-06-09 09:12:13 +02:00
made it so that you can use the glare on elements with a border radius
This commit is contained in:
parent
82792cbc9e
commit
729e6a7782
|
@ -347,7 +347,8 @@ export default class VanillaTilt {
|
|||
"width": "100%",
|
||||
"height": "100%",
|
||||
"overflow": "hidden",
|
||||
"pointer-events": "none"
|
||||
"pointer-events": "none",
|
||||
"border-radius": "inherit",
|
||||
});
|
||||
|
||||
Object.assign(this.glareElement.style, {
|
||||
|
|
Loading…
Reference in a new issue