Answer the question
In order to leave comments, you need to log in
How to fix canvas animation?
Good day!
1. Please tell me what needs to be corrected or added in the script.js file ( akis-style.dp.ua/new1/js/script.js), so that the animation works under objects (texts, images). Now under the objects animation just stops working.
2. And what needs to be corrected or added to the script.js file so that the canvas animation works in the burger menu.
Thank you very much in advance!
akis-style.dp.ua/new1
Answer the question
In order to leave comments, you need to log in
Add style to objects pointer-events: none;
Either listen for events not canvas
, but window
.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question