flekschas/piling.js

Allow absolute preview scaling

Opened this issue · 0 comments

Right now the preview width and height are scaled from their original extent to match the cover. If the user wants to only stretch one side and keep a fixed scale for the other side, one has to precalculate the preview size and know the size of the cover. E.g., one might want to use 1D heatmaps that scale to the width of the cover but are always exactly 2px high.