Atelaes / Mynda

An electron based media library
0 stars 0 forks source link

Tables in hierarchical view automatically re-render (and so re-sort by initial sort) on mouseover of each row #36

Closed JohnMTorgerson closed 3 years ago

JohnMTorgerson commented 3 years ago

Obviously we don't want this, because then the sorting doesn't persist. Not to mention it's a profligate waste, rendering that many times for no reason..

JohnMTorgerson commented 3 years ago

Fixed (sort of), by having MynLibrary remember the last sort key and direction. So it still re-renders a lot, but it doesn't re-sort on every re-render now.