remance / Masendor

Open source educational and historical battle action game, All helps accepted
MIT License
142 stars 31 forks source link

List UI more optimized #64

Closed coppermouse closed 1 year ago

coppermouse commented 1 year ago

But it is not as optimized as not render when mouse not over.

The not render when mouse not over is not good because it has some issues. Hover over an item and then move mouse sideways so it leaves the list. Then hover marker is still there because there is not update to remove it.

I think I can make this list even more optimized and I will keep optimizations on this branch.

Feel free to merge and remove the not-render-if-no-mouse-over thing if you find the list ui now being fast enough,