ManlyMarco/Illusion_BrowserFolders

FPS drops with lots of folders

spillerrec opened this issue · 2 comments

I notice frame rate issues when the mod is on-screen while showing a long list of folders. This happens both in the Koikatsu Character maker and studio.

I have a sub-folder where I have organized downloaded character cards based on what anime they are from. Which is currently around 150 folders. When expanding that sub-folder in the UI, the framerate goes from a steady 60 FPS to ~10 FPS. When collapsing it FPS recovers to 60. So it definitely seems like it is related to GUI of this mod.

This mod has been extremely helpful btw. Being able to easily combine similar different cards of the same character has been a game changer.

That's because all of the list elements are drawn every frame. To fix this the list will have to be virtualized but I never bothered because no one used more than 10 folders or so.

Fixed in #11