mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-31 19:30:07 +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()
|
||||
|
||||
var alg = 'Crop:|'+
|
||||
'Use Esc and Shift-Esc to exit crop modes.'
|
||||
var alg = 'Crop: |'+
|
||||
'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[alg] = [
|
||||
'Marked images (single ribbon)',
|
||||
'Marked images',
|
||||
'Marked images (keep ribbons)',
|
||||
'Current ribbon',
|
||||
'Current ribbon and above'
|
||||
]
|
||||
@ -1072,11 +1075,12 @@ function cropImagesDialog(){
|
||||
.done(function(res){
|
||||
res = res[alg]
|
||||
|
||||
if(/Marked.*single ribbon/i.test(res)){
|
||||
var method = toggleMarkedOnlyView
|
||||
// NOTE: this must be before the "simpler" text version...
|
||||
if(/Marked.*keep ribbons/i.test(res)){
|
||||
var method = toggleMarkedOnlyWithRibbonsView
|
||||
|
||||
} else if(/Marked/i.test(res)){
|
||||
var method = toggleMarkedOnlyWithRibbonsView
|
||||
var method = toggleMarkedOnlyView
|
||||
|
||||
} else if(/Current ribbon/i.test(res)){
|
||||
var method = toggleSingleRibbonMode
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user