11237 : Snap time item placements while moving

…aGantt, PlexityHide.GTP.TimeItemEventArgs e)     {       if (gantt1.MouseMoveKind==MouseMoveKind.move)       {         int orgpos=gantt1.DateScaler.TimeToPixel(e.TimeItem.Start+e.Diff);         DateTime quantizedTime=gantt1.DateScaler.SnapTime(e.TimeItem.Start+e.Diff,new TimeSpan(1,0,0));         int newpos=gantt1.DateScaler.TimeToPixel(quantizedTime);         int diff=newpos-orgpos;         e.x =e.x+diff;       }     }… Continue reading