RodrigoDLPontes / visualization-tool

Visualization tool for various data structures & algorithms taught in Georgia Tech's CS 1332 class
visualization-tool.rodrigodlpontes.vercel.app
Other
98 stars 57 forks source link

Font loading issues #243

Open ljones315 opened 1 year ago

ljones315 commented 1 year ago

The new font doesn't load immediately on page rendering, and typically require a refresh.

This leads to other issues with pseudocode spacing, particularly for lines of code with multiple segments.

Screenshot 2023-04-22 at 3 54 26 PM

It's also potentially causing performance issues some browsers (Firefox)

ShmulTomer commented 1 year ago

is there a way to consistently recreate this? I cant seem to get it to happen again

skapoor68 commented 1 year ago

It only happens on the initial site load. So when you initially visit csvistool.com and go to an algorithm with this issue (QuickSelect for example), the font overlap issue appears. Once you refresh the page, the issue is fixed for that animation and all others that do have the issue. So the only way to recreate the issue as far as I know is to do a fresh load of the site each time.