fix x/y flipping of out dimension of scaled images for orientations other than 6
This commit is contained in:
parent
d3937058f9
commit
c826a87af2
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ public class Thumbnail {
|
||||||
* @return Returns the size.
|
* @return Returns the size.
|
||||||
*/
|
*/
|
||||||
public Dimension getSize() {
|
public Dimension getSize() {
|
||||||
return getOrientation() == 6 ? size.flip() : size;
|
return getOrientation() >= 5 ? size.flip() : size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue