[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master e547ca1f89: Fix some minor glitches with Haiku scroll bars
From: |
Po Lu |
Subject: |
master e547ca1f89: Fix some minor glitches with Haiku scroll bars |
Date: |
Tue, 15 Mar 2022 00:47:32 -0400 (EDT) |
branch: master
commit e547ca1f8953ebbcd3bb65acc6eac34335ab3826
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Fix some minor glitches with Haiku scroll bars
* src/haiku_support.cc (MouseDown): Don't start overscroll if
dragging started inside a button.
---
src/haiku_support.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/haiku_support.cc b/src/haiku_support.cc
index 27d4bbafaf..4bd801242a 100644
--- a/src/haiku_support.cc
+++ b/src/haiku_support.cc
@@ -1785,7 +1785,6 @@ public:
if (buttons == B_PRIMARY_MOUSE_BUTTON)
{
- maybe_overscroll = true;
r = ButtonRegionFor (HAIKU_SCROLL_BAR_UP_BUTTON);
if (r.Contains (pt))
@@ -1813,6 +1812,8 @@ public:
haiku_write (SCROLL_BAR_PART_EVENT, &part);
goto out;
}
+
+ maybe_overscroll = true;
}
rq.dragging_p = 1;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master e547ca1f89: Fix some minor glitches with Haiku scroll bars,
Po Lu <=