File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ public class Gala.CloseButton : Clutter.Actor {
7979 }
8080
8181 public override bool button_press_event (Clutter . Event e) {
82- var estimated_duration = ( uint ) (ANIMATION_DURATION * (scale_x - 0.8 ) / 0.2 );
82+ var estimated_duration = Utils . get_animation_duration (( uint ) (ANIMATION_DURATION * (scale_x - 0.8 ) / 0.2 ) );
8383
8484 pixbuf_actor. save_easing_state ();
8585 pixbuf_actor. set_easing_duration (estimated_duration);
@@ -111,7 +111,7 @@ public class Gala.CloseButton : Clutter.Actor {
111111 }
112112
113113 private void reset_scale () {
114- var estimated_duration = ( uint ) (ANIMATION_DURATION * (1.0 - scale_x) / 0.2 );
114+ var estimated_duration = Utils . get_animation_duration(( uint ) (ANIMATION_DURATION * (1.0 - scale_x) / 0.2 ) );
115115
116116 pixbuf_actor. save_easing_state ();
117117 pixbuf_actor. set_easing_duration (estimated_duration);
You can’t perform that action at this time.
0 commit comments