[gnome-builder] minimap: try to match scrolledwindow animation times



commit ef37d6052cdbea66ddbe0433882513783e32a1a4
Author: Christian Hergert <christian hergert me>
Date:   Tue Apr 28 18:14:05 2015 -0700

    minimap: try to match scrolledwindow animation times
    
    This simply tries to match some of the constants in gtkscrolledwindow.c
    a bit better.

 libide/ide-source-map.c      |    2 +-
 src/editor/gb-editor-frame.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libide/ide-source-map.c b/libide/ide-source-map.c
index b516b00..56808e0 100644
--- a/libide/ide-source-map.c
+++ b/libide/ide-source-map.c
@@ -28,7 +28,7 @@
 #include "ide-source-view.h"
 
 #define DEFAULT_WIDTH        100
-#define DELAYED_HIDE_TIMEOUT 1000
+#define DELAYED_HIDE_TIMEOUT 2000
 #define DELAYED_SHOW_TIMEOUT 50
 
 struct _IdeSourceMap
diff --git a/src/editor/gb-editor-frame.c b/src/editor/gb-editor-frame.c
index deea3e9..93f58cb 100644
--- a/src/editor/gb-editor-frame.c
+++ b/src/editor/gb-editor-frame.c
@@ -29,7 +29,7 @@
 #include "gb-view-stack.h"
 #include "gb-widget.h"
 
-#define MINIMAP_HIDE_DURATION 500
+#define MINIMAP_HIDE_DURATION 1000
 #define MINIMAP_SHOW_DURATION 250
 
 G_DEFINE_TYPE (GbEditorFrame, gb_editor_frame, GTK_TYPE_BIN)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]