Closed michaelKurowski closed 4 years ago
TODO Laggs. The biggest source of laggs are captions and beziers that fade out on the border of rendering. Beziers at the edge could be just rendered lower, under a layer that would be covered with radial gradient
TODO Fix navigating directly to third-level nodes Children beziers could be also stored at nodes, so beziers at the edge could be animated
TODO Fix edge beziers not always showing up
nice node modules
@Jordan141 ready for code review
Actually I'll refactor and optimize it first
TODO Laggs. The biggest source of laggs are captions and beziers that fade out on the border of rendering. Beziers at the edge could be just rendered lower, under a layer that would be covered with radial gradient
Actually after hiding of edge beziers the laggs still occur on mobile phones
@Jordan141 could you check whether it's laggy on your phone?
TODO animation malfunction after navigating to emYhGb... and then to hUM9J...
Alright @Jordan141 done, please CR
Non-MVP Requests:
Other than that I will approve the PR
Bug found: If you click on the next node before the animation ends, you become unable to return to the previous level.
Console errors:
206konva.js:1058 Konva error: Tween constructor have `node` that is not in a layer. Please add node into layer first. error @ konva.js:1058 index.js:59 Uncaught TypeError: Cannot read property 'to' of null at hideAncestorNodes (index.js:59) at Animation.func (index.js:330) at Function.Animation._runFrames (konva.js:9082) at Animation._animationLoop (konva.js:9107)
TODO Rendering graph from data instead of generating nodes during rendering