Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
leolost2605 committed Dec 13, 2024
1 parent 204ff86 commit 6e1db4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Gestures/GesturePropertyTransition.vala
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ public class Gala.GesturePropertyTransition : Object {
return;
}

// Pre calculate some things, so we don't have to do it on every update
var from_value_float = value_to_float (actual_from_value);
var to_value_float = value_to_float (intermediate_value ?? to_value);
var lower_clamp_int = (int) overshoot_lower_clamp;
Expand Down

0 comments on commit 6e1db4b

Please sign in to comment.