all alignment issues connected with rotation appear to be fixed...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-11-25 05:05:11 +04:00
parent 53066cb8be
commit 9933b2ded2
2 changed files with 8 additions and 4 deletions

View File

@ -108,8 +108,8 @@ Roadmap
[_] 29% Gen 3 current todo
[_] 59% High priority
[_] 30% Gen 3 current todo
[_] 60% High priority
[_] 30% mark-based operations
[_] 50% cropping selection
[X] marked
@ -363,6 +363,8 @@ Roadmap
[_] remove extra and repetitive actions
[_] caching config
[_] side-by side view...
[X] BUG: ribbons above and below are still sometimes loaded incorrectly
| likely due to trying to align
[X] BUG: cropping in single image mode will change image scale...
| likely a problem with reloadViewer(...)
[X] BUG: align problems are back...

View File

@ -1236,6 +1236,8 @@ function updateImage(image, gid, size){
image.removeClass('marked')
}
correctImageProportionsForRotation(image)
return image
}
@ -1465,7 +1467,7 @@ function loadImagesAround(count, gid, ribbon, data){
// XXX is this the right place for this?
// XXX this might be too global, do only the images loaded...
correctImageProportionsForRotation(images)
//correctImageProportionsForRotation(images)
return images
}
@ -1515,7 +1517,7 @@ function rollImages(n, ribbon, extend, no_compensate_shift){
$('.viewer').trigger('updatedRibbon', [ribbon])
// XXX is this the right place for this?
correctImageProportionsForRotation(images)
//correctImageProportionsForRotation(images)
return images
}