Skip to content

Commit 7651f43

Browse files
committed
Add comment
1 parent 06a0b63 commit 7651f43

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Gestures/GestureTracker.vala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ public class Gala.GestureTracker : Object {
8888

8989
/**
9090
* @param percentage Value between 0 and 1.
91+
* @param completions How often a full cycle of the gesture was completed in this go. Can be
92+
* negative if the gesture was started in one direction but ended in the other. This is used to update
93+
* the UI to the according state. 0 for example means that the UI should go back to the same state
94+
* it was in before the gesture started.
9195
*/
9296
public signal void on_end (double percentage, int completions, int calculated_duration);
9397

0 commit comments

Comments
 (0)