[Opt] 优化虚拟列表 Snap吸附问题
This commit is contained in:
parent
4340f2f4a7
commit
0482f505a6
@ -106,8 +106,6 @@ namespace AlicizaX.UI
|
||||
set => draggingEvent = value;
|
||||
}
|
||||
|
||||
public float dragStopTime = 0f;
|
||||
|
||||
public bool InputEnabled { get; set; } = true;
|
||||
|
||||
protected virtual void Awake()
|
||||
@ -216,8 +214,6 @@ namespace AlicizaX.UI
|
||||
return;
|
||||
}
|
||||
|
||||
dragStopTime = Time.time;
|
||||
|
||||
velocity = GetDelta(eventData);
|
||||
position += velocity;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user