added notifications to crop manipulation, still need to think about this...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-09-21 03:38:44 +04:00
parent ed90c39bb3
commit 80adc1a5a2
2 changed files with 5 additions and 0 deletions

View File

@ -60,8 +60,10 @@ var toggleMarkedOnlyView = createCSSClassToggler(
function(action){
if(action == 'on'){
// XXX do we need to keep ribbons here???
showStatusQ('Cropping marked images...')
cropMarkedImages()
} else {
showStatusQ('Uncropping to all data...')
showAllData()
}
})

View File

@ -186,8 +186,10 @@ var toggleSingleRibbonMode = createCSSClassToggler(
},
function(action){
if(action == 'on'){
showStatusQ('Cropping current ribbon...')
cropDataTo(DATA.ribbons[getRibbonIndex()].slice())
} else {
showStatusQ('Uncropping to all data...')
showAllData()
}
})
@ -206,6 +208,7 @@ function uncropLastState(){
// ucrop one state...
} else {
showStatusQ('Uncropping...')
uncropData()
}
}