protected internal override void OnCursorMove(TimelineViewCursorEventArgs e)
 {
     base.OnCursorMove(e);
     this.UpdateDisplayedGraphInfo();
     if (e.CursorUnitSpeed != 0.0f)
     {
         float unitsPerPixel = this.ParentView.ConvertPixelsToUnits(1.0f);
         this.Invalidate(e.CursorUnits - unitsPerPixel * 6, e.CursorUnits + unitsPerPixel * MaxGraphValueTextWidth);
         this.Invalidate(e.LastCursorUnits - unitsPerPixel * 6, e.LastCursorUnits + unitsPerPixel * MaxGraphValueTextWidth);
     }
 }
示例#2
0
 protected internal virtual void OnCursorLeave(TimelineViewCursorEventArgs e)
 {
 }