You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Gestures/GesturePropertyTransition.vala
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,10 @@ public class Gala.GesturePropertyTransition : Object {
84
84
* to the final position. If with_gesture is false it will just ease to the {@link to_value}.
85
85
* #this will keep itself alive until the animation finishes so it is safe to immediatly unref it after creation and calling start.
86
86
*
87
-
* @param done_callback a callback for when the transition finishes. It is guaranteed to be called exactly once.
87
+
* @param done_callback a callback for when the transition finishes. This shouldn't be used for setting state, instead state should
88
+
* be set immediately on {@link GestureTracker.OnEnd} not only once the animation ends to allow for interrupting the animation by starting a new gesture.
89
+
* done_callback will only be called if the animation finishes, not if it is interrupted e.g. by starting a new animation for the same property,
90
+
* destroying the actor or removing the transition.
0 commit comments