flekschas / piling.js

A general framework and library for exploring thousands of small multiples

Home Page:https://piling.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The original position needs to be unset after the browser window was resized

flekschas opened this issue · comments

After the browser window was resized the originalPosition of piles is meaningless and should be unset. I suggest that instead, we use the current position of the piles.

I've updated the original position of every item at here: https://github.com/flekschas/piling.js/blob/master/src/library.js#L945-L954