anaconda / nbpresent

next generation slides for Jupyter Notebooks
BSD 3-Clause "New" or "Revised" License
162 stars 23 forks source link

add reorderable backgrounds in theme editor #48

Closed bollwyvl closed 8 years ago

bollwyvl commented 8 years ago

Right now, when you create a background, it will cover over all previous backgrounds (alpha channel included, but moot for colors).

By making them drag/droppable or with up down buttons, controlling this stack would be easy.

In the data layer, themes.theme.*.backgrounds is a list, so that could just be reordered with splices... or just a big set. Or, we could go to the more customary model and use a keyed tree and a linked list (again for the atomicity).

bollwyvl commented 8 years ago

Closing for now... might re-emerge in another project, given time constraints...