Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-03-31 15:41:30 +03:00
parent 4e9c33ec09
commit bb7be3e83f

View File

@ -123,10 +123,16 @@ var undoTag = function(action){
} } } }
// Shift marked image action constructor...
// //
// Direction can be: // Shift marked images up/down
// - 'up' // shiftMarked('up')
// - 'down' // shiftMarked('down')
// -> action
//
// The resulting action affects only images in current ribbon...
//
// NOTE: this specific to marked/selected images...
var shiftMarked = function(direction){ var shiftMarked = function(direction){
return function(ribbon){ return function(ribbon){
var that = this var that = this