[libadwaita/wip/exalm/fixes: 9/10] demo: Fix animation skip button sensitivity
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/fixes: 9/10] demo: Fix animation skip button sensitivity
- Date: Tue, 7 Dec 2021 21:12:57 +0000 (UTC)
commit 12189b8c50e74474536dd3ea0d6e9a1708816714
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Tue Dec 7 17:40:33 2021 +0500
demo: Fix animation skip button sensitivity
demo/adw-demo-window.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/demo/adw-demo-window.c b/demo/adw-demo-window.c
index 406c0b26..df7a49f2 100644
--- a/demo/adw-demo-window.c
+++ b/demo/adw-demo-window.c
@@ -656,7 +656,7 @@ timed_animation_can_skip (gpointer user_data,
AdwAnimationState timed_state,
AdwAnimationState spring_state)
{
- return timed_state != ADW_ANIMATION_FINISHED ||
+ return timed_state != ADW_ANIMATION_FINISHED &&
spring_state != ADW_ANIMATION_FINISHED;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]