mirror of
https://github.com/flynx/ImageGrid.git
synced 2026-01-07 10:51:09 +00:00
minor tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
bda241f7ad
commit
449af9bd1d
18
ui/ui.js
18
ui/ui.js
@ -932,9 +932,23 @@ function exportPreviewsDialog(state, dfl){
|
|||||||
// XXX make this more generic...
|
// XXX make this more generic...
|
||||||
// tell the user what state are we exporting...
|
// tell the user what state are we exporting...
|
||||||
if(state == null){
|
if(state == null){
|
||||||
|
var imgs = 0
|
||||||
|
// NOTE: we are not using order or image count as these sets may
|
||||||
|
// be larger that the current crop...
|
||||||
|
DATA.ribbons.map(function(e){
|
||||||
|
imgs += e.length
|
||||||
|
})
|
||||||
state = toggleSingleImageMode('?') == 'on' ? 'current image' : state
|
state = toggleSingleImageMode('?') == 'on' ? 'current image' : state
|
||||||
state = state == null && isViewCropped() ? 'current cropped view' : state
|
state = state == null && isViewCropped() ?
|
||||||
state = state == null ? 'all images' : state
|
'cropped view: '+
|
||||||
|
imgs+' images in '+
|
||||||
|
DATA.ribbons.length+' ribbons'
|
||||||
|
: state
|
||||||
|
state = state == null ?
|
||||||
|
'all: '+
|
||||||
|
imgs+' images in '+
|
||||||
|
DATA.ribbons.length+' ribbons'
|
||||||
|
: state
|
||||||
}
|
}
|
||||||
|
|
||||||
var res = $.Deferred()
|
var res = $.Deferred()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user