some bugfixes...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-09-23 20:06:20 +03:00
parent c5d54d8f7d
commit 7e50cf2591
3 changed files with 4 additions and 2 deletions

View File

@ -353,12 +353,12 @@ var ImageMarkEditActions = actions.Actions({
shiftMarked('down')], shiftMarked('down')],
// XXX undo... // XXX undo...
shiftMarkedAfter: ['Mark|Image/Shift marked after', shiftMarkedAfter: ['Mark|Image/Shift marked $after',
{browseMode: 'cropMarked'}, {browseMode: 'cropMarked'},
function(target){ function(target){
this.shiftImageTo(this.marked, target || 'current', 'after') }], this.shiftImageTo(this.marked, target || 'current', 'after') }],
// XXX undo... // XXX undo...
shiftMarkedBefore: ['Mark|Image/Shift marked before', shiftMarkedBefore: ['Mark|Image/Shift marked $b$efore',
{browseMode: 'cropMarked'}, {browseMode: 'cropMarked'},
function(target){ function(target){
this.shiftImageTo(this.marked, target || 'current', 'before') }], this.shiftImageTo(this.marked, target || 'current', 'before') }],

View File

@ -1626,6 +1626,7 @@ var DataPrototype = {
delete that.ribbons[from][f] delete that.ribbons[from][f]
} }
}) })
this.clear('empty')
} }
// horizontal shift -- gather the images horizontally... // horizontal shift -- gather the images horizontally...

View File

@ -26,6 +26,7 @@
"ig-features": "^3.2.7", "ig-features": "^3.2.7",
"ig-object": "^1.0.2", "ig-object": "^1.0.2",
"openseadragon": "^2.3.0", "openseadragon": "^2.3.0",
"pica": "^3.0.6",
"preact": "^8.2.5", "preact": "^8.2.5",
"react": "^15.6.1", "react": "^15.6.1",
"react-dom": "^15.6.1", "react-dom": "^15.6.1",