From c7718f564bca92ab260962e7fcb58a0ac0cef1f7 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Thu, 25 Oct 2018 14:50:37 +0900 Subject: [PATCH] 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 --- src/lib/elementary/elm_transit.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/lib/elementary/elm_transit.c b/src/lib/elementary/elm_transit.c index d5fe10bde9..f981dfe99c 100644 --- a/src/lib/elementary/elm_transit.c +++ b/src/lib/elementary/elm_transit.c @@ -797,11 +797,6 @@ EAPI void elm_transit_duration_set(Elm_Transit *transit, double duration) { 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; }