mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
bugfix + F8 to add image to collection...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
592d3a68d8
commit
f0df4183c7
@ -429,9 +429,7 @@ var CollectionActions = actions.Actions({
|
|||||||
// NOTE: we do not need to care about tags here as they
|
// NOTE: we do not need to care about tags here as they
|
||||||
// will get overwritten on load...
|
// will get overwritten on load...
|
||||||
state.data = (mode == 'empty' ?
|
state.data = (mode == 'empty' ?
|
||||||
// XXX should this be null???
|
(new this.data.constructor())
|
||||||
//(new this.data.constructor())
|
|
||||||
null
|
|
||||||
: mode == 'base' && this.crop_stack ?
|
: mode == 'base' && this.crop_stack ?
|
||||||
(this.crop_stack[0] || this.data.clone())
|
(this.crop_stack[0] || this.data.clone())
|
||||||
: mode == 'crop' ?
|
: mode == 'crop' ?
|
||||||
|
|||||||
@ -373,6 +373,7 @@ module.GLOBAL_KEYBOARD = {
|
|||||||
//alt_C: 'browseCollections',
|
//alt_C: 'browseCollections',
|
||||||
alt_C: 'browseActions: "/Collections/" -- Collections menu...',
|
alt_C: 'browseActions: "/Collections/" -- Collections menu...',
|
||||||
shift_O: 'browseCollections',
|
shift_O: 'browseCollections',
|
||||||
|
F8: 'addToCollection',
|
||||||
|
|
||||||
|
|
||||||
// metadata...
|
// metadata...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user