[libadwaita/wip/exalm/fixes: 2/3] demo: Fix animation skip button sensitivity
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/fixes: 2/3] demo: Fix animation skip button sensitivity
- Date: Tue, 7 Dec 2021 21:12:09 +0000 (UTC)
commit 4a390dca7f04ecd55619e780c5a73fe127d1c6d9
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]