aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-08-29 22:50:38 +0200
committerdec05eba <dec05eba@protonmail.com>2020-08-29 22:50:38 +0200
commit45ce91d81e6d964124d0fd310156b4562f4dc284 (patch)
treecef22da08782a137481463a5f64fb07ebf79ea2b
parent051b86db144ed54dac43b2045fc179e2749b57f6 (diff)
Disable transition
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index fa16545..3c287f4 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -863,8 +863,8 @@ static void activate(GtkApplication *app, gpointer userdata) {
GtkStack *stack = GTK_STACK(gtk_stack_new());
gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(stack));
- gtk_stack_set_transition_type(stack, GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT);
- gtk_stack_set_transition_duration(stack, 300);
+ gtk_stack_set_transition_type(stack, GTK_STACK_TRANSITION_TYPE_NONE);
+ gtk_stack_set_transition_duration(stack, 0);
gtk_stack_set_homogeneous(stack, false);
GtkWidget *common_settings_page = create_common_settings_page(stack, app);
GtkWidget *replay_page = create_replay_page(app, stack);