private void CheckClipEasingCollision_easesTimeline(int x, int y, VidkaClipVideoAbstract clip)
{
UiObjects.SetTrimHover(TrimDirection.None);
UiObjects.SetShowEasingHandles(false);
if (clip == null)
return;
var boundThres = BOUND_THRESH_MAX;
if (Dimdim.lastCollision_easeSide == TrimDirection.Left)
{
if (x - Dimdim.lastCollision_x1 <= boundThres)
{
UiObjects.SetTrimHover(TrimDirection.Left);
UiObjects.SetShowEasingHandles(true);
}
}
else if (Dimdim.lastCollision_easeSide == TrimDirection.Right)
{
if (Dimdim.lastCollision_x2 - x <= boundThres)
{
UiObjects.SetTrimHover(TrimDirection.Right);
UiObjects.SetShowEasingHandles(true);
}
}
}