-
-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce a GesturePropertyTransition #2074
base: main
Are you sure you want to change the base?
Conversation
Yeah that review request was a bit optimistic this still needs a few minor refinements:
|
Ok this should now finally be ready for review :) |
* Emitted when all animations are finished that is when the property has reached the target value | ||
* either via gesture or via easing or combined. | ||
*/ | ||
public signal void done (); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I can see this signal is used only inside the class, the users of the class seem to use done_callback
. Should this signal be private instead?
Introduces a GesturePropertyTransition. This allows us to remove a lot of boilerplate code. For now it is a simple API that pretty much is used as a drop in replacement for connecting own handlers. In the future it can be easily expanded upon for more powerful usage. The nudge animations (both in multitasking view and while on the desktop) are a bit different now and IMHO a bit better (they can be changed back or to something different though).