diff options
author | Ian C <ianc@noddybox.co.uk> | 2016-06-14 18:45:13 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2016-06-14 18:45:13 +0000 |
commit | 6bcdf300ee3c651f32b0c78df0b2d3cf6f0263e1 (patch) | |
tree | 76368698cf19cd078c163e1847cb81c62147a942 | |
parent | 4e3b8b0981d4699b5571fed9d26107fde11c1025 (diff) |
-rw-r--r-- | neschr/EditControl.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/neschr/EditControl.cs b/neschr/EditControl.cs index 566ac46..067d320 100644 --- a/neschr/EditControl.cs +++ b/neschr/EditControl.cs @@ -403,6 +403,11 @@ namespace UCTest protected override void OnMouseMove(MouseEventArgs e)
{
+ if (!initialised)
+ {
+ return;
+ }
+
int gx;
int gy;
@@ -536,6 +541,11 @@ namespace UCTest protected override void OnMouseDown(MouseEventArgs e)
{
+ if (!initialised)
+ {
+ return;
+ }
+
int gx;
int gy;
@@ -576,6 +586,11 @@ namespace UCTest protected override void OnMouseUp(MouseEventArgs e)
{
+ if (!initialised)
+ {
+ return;
+ }
+
int gx;
int gy;
|