[libadwaita/wip/exalm/tab-fixes: 3/4] tab-box: Use the correct duration for appear animation scrolling
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/tab-fixes: 3/4] tab-box: Use the correct duration for appear animation scrolling
- Date: Mon, 11 Apr 2022 12:44:49 +0000 (UTC)
commit af37640c6febff2bfbadfe626f24e8f26721d6f4
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon Apr 11 16:27:01 2022 +0400
tab-box: Use the correct duration for appear animation scrolling
While the value is same for both, it was semantically incorrect.
src/adw-tab-box.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/adw-tab-box.c b/src/adw-tab-box.c
index 07ee078a..833c8ccb 100644
--- a/src/adw-tab-box.c
+++ b/src/adw-tab-box.c
@@ -1826,7 +1826,7 @@ page_attached_cb (AdwTabBox *self,
if (page == adw_tab_view_get_selected_page (self->view))
adw_tab_box_select_page (self, page);
else
- scroll_to_tab_full (self, info, -1, FOCUS_ANIMATION_DURATION, TRUE);
+ scroll_to_tab_full (self, info, -1, OPEN_ANIMATION_DURATION, TRUE);
update_separators (self);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]