]> git.eshelyaron.com Git - emacs.git/commitdiff
Allow overscrolling on Haiku scroll bars that are full
authorPo Lu <luangruo@yahoo.com>
Sun, 13 Mar 2022 12:56:55 +0000 (12:56 +0000)
committerPo Lu <luangruo@yahoo.com>
Sun, 13 Mar 2022 12:58:06 +0000 (12:58 +0000)
* src/haiku_support.cc (MouseMoved): Allow overscrolling even if
portion is less than 1.0.

src/haiku_support.cc

index 9c9aa7f35bf51dfccf2340e17091446d3cc7aead..3941dc0409da5c092373d6c1b94a643ed7e6feb1 100644 (file)
@@ -1921,7 +1921,7 @@ public:
          {
            BScrollBar::MouseMoved (point, transit, msg);
 
-           if (value == Value () && Proportion () < 1.0f)
+           if (value == Value ())
              {
                overscroll_start_value = value;
                in_overscroll = true;