diff --git a/libgitg/gitg-cell-renderer-lanes.vala b/libgitg/gitg-cell-renderer-lanes.vala index aadd16af..f8f06dbb 100644 --- a/libgitg/gitg-cell-renderer-lanes.vala +++ b/libgitg/gitg-cell-renderer-lanes.vala @@ -323,7 +323,7 @@ namespace Gitg out int hot_x) { var rtl = (widget.get_style_context().get_state() & Gtk.StateFlags.DIR_RTL) != 0; - var offset = (int)(labels.length() * lane_width); + var offset = (int)(num_visible_lanes * lane_width); if (rtl) {