滑動問題
This commit is contained in:
parent
b8416494d8
commit
2e664788ca
@ -120,7 +120,7 @@ namespace DualScreenDemo
|
||||
if (isDragging)
|
||||
{
|
||||
int deltaX = e.X - mouseDownLocation.X;
|
||||
if (Math.Abs(deltaX) > 50) // 滑動距離超過50像素才觸發
|
||||
if (Math.Abs(deltaX) > 20) // 滑動距離超過50像素才觸發
|
||||
{
|
||||
if (deltaX > 0 && currentPageIndex > 0)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user