Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/14/16 14:13:57 (8 years ago)
Author:
jkarder
Message:

#1265: worked on visualization

  • added shortcut handling prototype
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Visualization/HeuristicLab.Visualization/3.3/ChartModes/ZoomInChartMode.cs

    r13717 r13762  
    3535    }
    3636
    37     public ZoomInChartMode(ChartControl control) : base(control) { }
     37    public ZoomInChartMode(ChartControl control) : base(control) {
     38      globalShortcuts.Add(new Shortcut(Keys.Z, Keys.Control) {
     39        DownAction = () => chartControl.SetTempChartMode(this),
     40        UpAction = () => chartControl.ResetTempChartMode()
     41      });
     42    }
    3843
    3944    public override void HandleOnMouseUp(object sender, MouseEventArgs e) {
Note: See TracChangeset for help on using the changeset viewer.