forked from enlightenment/efl
elementary/win - Dont be allow under -320 to be passed thorough.
babieri, you still read the commits! Anyway thanks for reporting. SVN revision: 79510
This commit is contained in:
parent
d5e5c03b69
commit
977adcb127
|
@ -3462,8 +3462,8 @@ _win_rotation_degree_check(int rotation)
|
|||
{
|
||||
if ((rotation > 360) || (rotation < 0))
|
||||
{
|
||||
WRN("Rotation degree should be 0 ~ 360");
|
||||
if (rotation > 360) rotation %= 360;
|
||||
WRN("Rotation degree should be 0 ~ 360 (passed degree: %d)", rotation);
|
||||
rotation %= 360;
|
||||
if (rotation < 0) rotation += 360;
|
||||
}
|
||||
return rotation;
|
||||
|
|
Loading…
Reference in New Issue