projects
/
phpfspot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed rotation: for some reason 90 and 270 degrees had to be switched
[phpfspot.git]
/
phpfspot.class.php
diff --git
a/phpfspot.class.php
b/phpfspot.class.php
index 5dedc2c05f864284fb0c4084ae010dec29a4afe0..111b03ef0e641129353ae4b5d3ff562d92d1f713 100644
(file)
--- 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 */
case 4: /* bottom, right */
$flip_vert = true; break;
case 5: /* left side, top */
- $rotate =
9
0; $flip_vert = true; break;
+ $rotate =
27
0; $flip_vert = true; break;
case 6: /* right side, top */
case 6: /* right side, top */
- $rotate =
9
0; break;
+ $rotate =
27
0; break;
case 7: /* left side, bottom */
case 7: /* left side, bottom */
- $rotate =
27
0; $flip_vert = true; break;
+ $rotate =
9
0; $flip_vert = true; break;
case 8: /* right side, bottom */
case 8: /* right side, bottom */
- $rotate =
27
0; break;
+ $rotate =
9
0; break;
}
}
}
}