varkor / FlowGrid

A flexible JavaScript drag-and-drop tile system
MIT License
0 stars 0 forks source link

Redrawing cells will overwrite drawn state #8

Open varkor opened 9 years ago

varkor commented 9 years ago

If you are hovering over a cell, and then it is redrawn with, say, redrawCellAtIndex, it will be drawn in the default state, as if it was not being hovered.

varkor commented 9 years ago

Instead of redrawing and calculating everything, we might be able to use .interact.hover to work this out (because the only other state is select, which is saved already).

varkor commented 9 years ago

This obviously also affects scrolling in the new version.