[gitg/gnome-3-20] Reduce hot area for action bar to mitigate horizontal scrolling issue



commit 762454c859bb5605bd3c9043b48fe86848cf98c7
Author: Jesse van den Kieboom <jessevdk gnome org>
Date:   Sun Jun 5 12:23:17 2016 +0200

    Reduce hot area for action bar to mitigate horizontal scrolling issue
    
    https://bugzilla.gnome.org/show_bug.cgi?id=764003

 libgitg/gitg-diff-view.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgitg/gitg-diff-view.vala b/libgitg/gitg-diff-view.vala
index 9319513..47f4185 100644
--- a/libgitg/gitg-diff-view.vala
+++ b/libgitg/gitg-diff-view.vala
@@ -509,7 +509,7 @@ public class Gitg.DiffView : Gtk.Grid
                d_event_box.get_allocation(out alloc);
                d_revealer_options.get_allocation(out revealer_alloc);
 
-               if (!d_revealer_options.reveal_child && y >= alloc.height - 18 && d_reveal_options_timeout == 
0)
+               if (!d_revealer_options.reveal_child && y >= alloc.height - 18 && x >= alloc.width - 150 && 
d_reveal_options_timeout == 0)
                {
                        if (d_unreveal_options_timeout != 0)
                        {


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