<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -336,13 +336,18 @@ void RaptorGraphicsView::setupItems()
 void RaptorGraphicsView::scrollItems()
 {
     if (viewMode() == RaptorGraphicsView::Search) {
-        if (abs(d-&gt;scrollOffset) &lt; 10) {
+        RaptorMenuItem *item = d-&gt;items.first();
+        int scrollDelta = item-&gt;rect().width() / 2; // Smaller is faster scroll
+        if (abs(d-&gt;scrollOffset) &lt; scrollDelta) {
             return;
         }
-        if (d-&gt;scrollOffset &gt; 0) {
+        while (d-&gt;scrollOffset &gt; scrollDelta) {
             scrollLeft();
-        } else {
+            d-&gt;scrollOffset -= scrollDelta;
+        }
+        while (d-&gt;scrollOffset &lt; -scrollDelta) {
             scrollRight();
+            d-&gt;scrollOffset += scrollDelta;
         }
         return;
     }
@@ -465,7 +470,7 @@ void RaptorGraphicsView::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
 
 void RaptorGraphicsView::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
 {
-    d-&gt;scrollOffset = event-&gt;pos().x() - event-&gt;lastPos().x();
+    d-&gt;scrollOffset += event-&gt;pos().x() - event-&gt;lastPos().x();
 
     scrollItems();
 }</diff>
      <filename>view/raptorgraphicsview.cpp</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1f9cb3b305ff97aa0e8c0e10bffcad911b84d6ac</id>
    </parent>
    <parent>
      <id>41e5998cb8e670322bc49397c9f60a5f0e286b52</id>
    </parent>
  </parents>
  <author>
    <name>Riccardo Iaconelli</name>
    <login>ruphy</login>
    <email>riccardo@kde.org</email>
  </author>
  <url>http://github.com/ruphy/raptor/commit/b6b1fc2342505e768a7bdc2d61d2155ff61b0fdb</url>
  <id>b6b1fc2342505e768a7bdc2d61d2155ff61b0fdb</id>
  <committed-date>2009-03-15T07:22:12-07:00</committed-date>
  <authored-date>2009-03-15T07:22:12-07:00</authored-date>
  <message>Merge commit 'xsacha/master'</message>
  <tree>03b727af67be98ac22a9b292c61daafd9803e997</tree>
  <committer>
    <name>Riccardo Iaconelli</name>
    <login>ruphy</login>
    <email>riccardo@kde.org</email>
  </committer>
</commit>
