Merge "fix a typo that prevented preserveRects() to work properly"
This commit is contained in:
commit
e4a8ac1019
@ -308,7 +308,7 @@ uint32_t Transform::getOrientation() const
|
||||
|
||||
bool Transform::preserveRects() const
|
||||
{
|
||||
return (type() & ROT_INVALID) ? false : true;
|
||||
return (getOrientation() & ROT_INVALID) ? false : true;
|
||||
}
|
||||
|
||||
void Transform::dump(const char* name) const
|
||||
|
Loading…
Reference in New Issue
Block a user