Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
leolost2605 committed Dec 15, 2024
1 parent 06a0b63 commit 7651f43
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Gestures/GestureTracker.vala
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ public class Gala.GestureTracker : Object {

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

Expand Down

0 comments on commit 7651f43

Please sign in to comment.