Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/22/10 10:54:33 (14 years ago)
Author:
mkommend
Message:

disabled scrolling via mouse wheel in netron visualization (ticket #867)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/HeuristicLab.Netron-3.0.2672.12446/NetronVisualization.cs

    r2909 r3167  
    116116    }
    117117
     118
     119    protected override void OnMouseWheel(MouseEventArgs e) {
     120      //inserted to disable scrolling by the mousewheel
     121      //base.OnMouseWheel(e);
     122    }
     123
    118124    protected override void OnScroll(ScrollEventArgs se) {
    119125      //base.OnScroll(se);
    120126      if (se.ScrollOrientation == ScrollOrientation.HorizontalScroll) {
    121127        Origin = new Point(se.NewValue, Origin.Y);
    122         //System.Diagnostics.Trace.WriteLine(se.NewValue);
    123128      } else {
    124129        Origin = new Point(Origin.X, se.NewValue);
    125         //System.Diagnostics.Trace.WriteLine(se.NewValue);
    126130      }
    127131    }
Note: See TracChangeset for help on using the changeset viewer.