hermet pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=c7718f564bca92ab260962e7fcb58a0ac0cef1f7

commit c7718f564bca92ab260962e7fcb58a0ac0cef1f7
Author: Hermet Park <[email protected]>
Date:   Thu Oct 25 14:50:37 2018 +0900

    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;
 }
 

-- 


Reply via email to