MetaCell / MetaCell/salk-interactive-atlas

make the stacking order of the 2D viewer images explicit

Open
#198 0 comments 0 reactions 1 assignee Claimed by @afonsobspinto View on GitHub
technical debt
Dominant language
TypeScript
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

currently the order of stacking on the 2D canvas depends on the insert order in the `imagesToLoad` array
this is very implicit and could cause uncertainties about how the stacking of the images is

instead of having it implicit we should add somekind of "type" to the array objects (type could be "annotation", "grid" etc)
and then sort the array by type according to a ("type", order) list
something like
```
[ ("annotation", 1), ("grid", 2), etc ]
```
then it becomes very clear how the images are stacked (ordered)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.