From 80adc1a5a201fd250c28835819a3c3393e555dce Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 21 Sep 2013 03:38:44 +0400 Subject: [PATCH] added notifications to crop manipulation, still need to think about this... Signed-off-by: Alex A. Naanou --- ui/marks.js | 2 ++ ui/modes.js | 3 +++ 2 files changed, 5 insertions(+) diff --git a/ui/marks.js b/ui/marks.js index 108cc0c6..c2666895 100755 --- a/ui/marks.js +++ b/ui/marks.js @@ -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() } }) diff --git a/ui/modes.js b/ui/modes.js index c1cc6b41..d1e63ade 100755 --- a/ui/modes.js +++ b/ui/modes.js @@ -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() } }