mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
5b2d7ddb85
commit
0d046bb90e
@ -604,11 +604,16 @@ module.ImagesPrototype = {
|
||||
var o = direction == 'cw' || direction == 'ccw'
|
||||
? module.calcRelativeRotation(img.orientation, direction)
|
||||
: direction*1
|
||||
|
||||
/* XXX seting orientation to undefined does not save correctly (BUG?)
|
||||
if(o == 0){
|
||||
delete img.orientation
|
||||
} else {
|
||||
img.orientation = o
|
||||
}
|
||||
//*/
|
||||
img.orientation = o
|
||||
|
||||
// account for proportions...
|
||||
//that.correctImageProportionsForRotation(img)
|
||||
// XXX this is a bit of an overkill but it will update the
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user