mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-11-01 03:40:09 +00:00
minor tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
734116c873
commit
68d0bec3cb
16
ui/ui.js
16
ui/ui.js
@ -1054,13 +1054,16 @@ function cropImagesDialog(){
|
|||||||
|
|
||||||
updateStatus('Crop...').show()
|
updateStatus('Crop...').show()
|
||||||
|
|
||||||
var alg = 'Crop:|'+
|
var alg = 'Crop: |'+
|
||||||
'Use Esc and Shift-Esc to exit crop modes.'
|
'Use Esc and Shift-Esc to exit crop modes.'+
|
||||||
|
'\n\n'+
|
||||||
|
'NOTE: all drop modes will produce a single ribbon unless\n'+
|
||||||
|
'otherwise stated.'
|
||||||
|
|
||||||
cfg = {}
|
cfg = {}
|
||||||
cfg[alg] = [
|
cfg[alg] = [
|
||||||
'Marked images (single ribbon)',
|
|
||||||
'Marked images',
|
'Marked images',
|
||||||
|
'Marked images (keep ribbons)',
|
||||||
'Current ribbon',
|
'Current ribbon',
|
||||||
'Current ribbon and above'
|
'Current ribbon and above'
|
||||||
]
|
]
|
||||||
@ -1072,11 +1075,12 @@ function cropImagesDialog(){
|
|||||||
.done(function(res){
|
.done(function(res){
|
||||||
res = res[alg]
|
res = res[alg]
|
||||||
|
|
||||||
if(/Marked.*single ribbon/i.test(res)){
|
// NOTE: this must be before the "simpler" text version...
|
||||||
var method = toggleMarkedOnlyView
|
if(/Marked.*keep ribbons/i.test(res)){
|
||||||
|
var method = toggleMarkedOnlyWithRibbonsView
|
||||||
|
|
||||||
} else if(/Marked/i.test(res)){
|
} else if(/Marked/i.test(res)){
|
||||||
var method = toggleMarkedOnlyWithRibbonsView
|
var method = toggleMarkedOnlyView
|
||||||
|
|
||||||
} else if(/Current ribbon/i.test(res)){
|
} else if(/Current ribbon/i.test(res)){
|
||||||
var method = toggleSingleRibbonMode
|
var method = toggleSingleRibbonMode
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user