fixed image rotation direction...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2014-04-23 03:25:25 +04:00
parent 220b7767cb
commit 4b9d2b4621

View File

@ -990,7 +990,7 @@ var _ccw = {
// needed, then one should write a GID based version (data.js)
// XXX do we need a GID based version?
function rotateImage(direction, image){
var r_table = direction == 'left' ? _cw : _ccw
var r_table = direction == 'left' ? _ccw : _cw
image = image == null ? getImage() : $(image)
image.each(function(i, e){
var img = $(this)