mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
bugfix: now crop stack is reset on load...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
88d1bcc4ba
commit
948acbf366
13
ui/crop.js
13
ui/crop.js
@ -437,5 +437,18 @@ function filterImagesDialog(){
|
||||
|
||||
|
||||
|
||||
/*********************************************************************/
|
||||
|
||||
function setupCrop(viewer){
|
||||
return viewer
|
||||
// reset the crop stack when loading something...
|
||||
.on('fileStateLoaded', function(){
|
||||
CROP_STACK = []
|
||||
})
|
||||
}
|
||||
SETUP_BINDINGS.push(setupCrop)
|
||||
|
||||
|
||||
|
||||
/**********************************************************************
|
||||
* vim:set ts=4 sw=4 : */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user