basic group discription...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2014-11-24 18:16:56 +03:00
parent 3c5521dece
commit 3aeaf6e36e
2 changed files with 17 additions and 0 deletions

View File

@ -1477,6 +1477,22 @@ var DataPrototype = {
/****************************************************** Groups ***/
// A group is a small set of images...
//
// All images in a group are in ONE ribbon but can be at any location
// in order.
//
// It can be in one of two states:
// - collapsed
// - group images are not loaded
// - group cover is loaded
// - expanded
// - group cover is not loaded
// - group images are loaded
//
// XXX group cover -- which image and should this question be asked
// on this level???
//
// XXX experimental...
// ...not sure if storing groups in .groups here is the right
// way to go...

View File

@ -1056,6 +1056,7 @@ actions.Actions(Client, {
groupMarked: [ reloadAfter() ],
expandGroup: [ reloadAfter() ],
collapseGroup: [ reloadAfter() ],
// XXX might be a good idea to do this in a new viewer in an overlay...
cropGroup: [ reloadAfter() ],
// XXX experimental: not sure if this is the right way to go...