OSDN Git Service
(root)
/
kancollesniffer
/
KancolleSniffer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c1d1a6
)
スワイプスクロールするとしばらく固まるのを直す
author
Kazuhiro Fujieda
<fujieda@users.osdn.me>
Thu, 20 Apr 2017 11:41:11 +0000
(20:41 +0900)
committer
Kazuhiro Fujieda
<fujieda@users.osdn.me>
Sat, 22 Apr 2017 06:43:03 +0000
(15:43 +0900)
KancolleSniffer/SwipeScrollify.cs
patch
|
blob
|
history
diff --git
a/KancolleSniffer/SwipeScrollify.cs
b/KancolleSniffer/SwipeScrollify.cs
index
9d0bf8a
..
7af78e6
100644
(file)
--- a/
KancolleSniffer/SwipeScrollify.cs
+++ b/
KancolleSniffer/SwipeScrollify.cs
@@
-141,8
+141,6
@@
namespace KancolleSniffer
\r
public void MouseUp(IntPtr handle, ref bool handled)
\r
{
\r
- if (_touch && !_panelStart.IsEmpty && _panelStart != _panel.AutoScrollPosition)
\r
- handled = true;
\r
_touch = false;
\r
_mouseStart = _panelStart = Point.Empty;
\r
}
\r
@@
-204,8
+202,6
@@
namespace KancolleSniffer
\r
public void MouseUp(IntPtr handle, ref bool handled)
\r
{
\r
- if (_touch && _barStart != -1 && _barStart != _panel.ScrollBar.Value)
\r
- handled = true;
\r
_touch = false;
\r
_barStart = -1;
\r
_mouseStart = Point.Empty;
\r