diff options
author | Arun Persaud <arun@nubati.net> | 2010-02-22 23:20:13 -0800 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2010-02-22 23:20:13 -0800 |
commit | 8d922ef0624485c509978a8184e2b1d1c51a1fd7 (patch) | |
tree | 38dfcb788d6eb131e1a27e279a9c613af611ac24 /phpfspot.class.php | |
parent | d30a91eaf1277e506798f31ac45cdb775951ac99 (diff) |
fixed rotation: for some reason 90 and 270 degrees had to be switched
Diffstat (limited to 'phpfspot.class.php')
-rw-r--r-- | phpfspot.class.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php index 5dedc2c..111b03e 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -1770,13 +1770,13 @@ class PHPFSPOT { case 4: /* bottom, right */ $flip_vert = true; break; case 5: /* left side, top */ - $rotate = 90; $flip_vert = true; break; + $rotate = 270; $flip_vert = true; break; case 6: /* right side, top */ - $rotate = 90; break; + $rotate = 270; break; case 7: /* left side, bottom */ - $rotate = 270; $flip_vert = true; break; + $rotate = 90; $flip_vert = true; break; case 8: /* right side, bottom */ - $rotate = 270; break; + $rotate = 90; break; } } |