Skip to content

Commit

Permalink
Added zoom scaling with Ctrl-MouseWheel..
Browse files Browse the repository at this point in the history
  • Loading branch information
pgeerkens committed Apr 4, 2019
1 parent 72df44a commit 0c335cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HexgridPanel/HexgridPanel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public partial class HexgridPanel : TiltAwareScrollableControl, ISupportInitiali
public HexgridPanel() {
RefreshCmd = new RelayCommand(o => { if (o != null) { SetMapDirty(); } Refresh(); } );
DataContext = new HexgridViewModel(this);
SetScaleList (new float[] {1.00F});
SetScaleList (new float[] {0.297F, 0.354F, 0.420F, 0.500F, 0.594F, 0.707F, 0.841F, 1.00F, 1.189F, 1.414F, 1.684F, 2.000F});

InitializeComponent();
}
Expand Down

0 comments on commit 0c335cb

Please sign in to comment.