diff --git a/External/OxyPlot/OxyPlot.WindowsForms/Plot.cs b/External/OxyPlot/OxyPlot.WindowsForms/Plot.cs
index aa56dec..db59dd8 100644
--- a/External/OxyPlot/OxyPlot.WindowsForms/Plot.cs
+++ b/External/OxyPlot/OxyPlot.WindowsForms/Plot.cs
@@ -841,24 +841,23 @@ namespace OxyPlot.WindowsForms
bool xb2 = e.Button == MouseButtons.XButton2;
// MMB / control RMB / control+alt LMB
- if (mmb || (control && rmb) || (control && alt && lmb))
+ if (mmb || (control && lmb) || (control && alt && rmb))
+ {
+ return new ZoomRectangleManipulator(this);
+ }
+
+ // Right mouse button / alt+left mouse button
+ if (lmb || (rmb && alt))
{
if (e.Clicks == 2)
{
return new ResetManipulator(this);
}
-
- return new ZoomRectangleManipulator(this);
- }
-
- // Right mouse button / alt+left mouse button
- if (rmb || (lmb && alt))
- {
return new PanManipulator(this);
}
// Left mouse button
- if (lmb)
+ if (rmb)
{
return new TrackerManipulator(this) { Snap = !control, PointsOnly = shift };
}
diff --git a/External/OxyPlot/OxyPlot/Axes/Axis.cs b/External/OxyPlot/OxyPlot/Axes/Axis.cs
index c9aead3..1dd2bff 100644
--- a/External/OxyPlot/OxyPlot/Axes/Axis.cs
+++ b/External/OxyPlot/OxyPlot/Axes/Axis.cs
@@ -703,13 +703,13 @@ namespace OxyPlot.Axes
/// Gets or sets the current view's maximum. This value is used when the user zooms or pans.
///
/// The view maximum.
- protected double ViewMaximum { get; set; }
+ public double ViewMaximum { get; protected set; }
///
/// Gets or sets the current view's minimum. This value is used when the user zooms or pans.
///
/// The view minimum.
- protected double ViewMinimum { get; set; }
+ public double ViewMinimum { get; protected set; }
///
/// Transforms the specified point to screen coordinates.