forked from enlightenment/efl
elementary transit: allow duration change on animatining.
Summary: Previously, it didn't allow to change duration because of implementation limit. This time, it turns out it doesn't need to limit the behavior. More capacity is better for various scenarioes. Reviewers: #committers, devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7205
This commit is contained in:
parent
66f5b5c9aa
commit
c7718f564b
|
@ -797,11 +797,6 @@ EAPI void
|
||||||
elm_transit_duration_set(Elm_Transit *transit, double duration)
|
elm_transit_duration_set(Elm_Transit *transit, double duration)
|
||||||
{
|
{
|
||||||
ELM_TRANSIT_CHECK_OR_RETURN(transit);
|
ELM_TRANSIT_CHECK_OR_RETURN(transit);
|
||||||
if (transit->animator)
|
|
||||||
{
|
|
||||||
WRN("elm_transit does not allow one to set the duration time in operating! : transit=%p", transit);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
transit->time.duration = duration;
|
transit->time.duration = duration;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue