aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/Image.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-03-05 10:44:15 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-03-05 10:44:15 +0100
commit3d9e22120b40a0a4eb470bc6ceb3de8879f74c8d (patch)
treef7de48e66b09ad9427faa155be1829347b46f8b7 /src/GraphicObjects/Image.cs
parentb7e8ad35f6f8ce7db30f9dde5cd2628c82f34f8b (diff)
split update registration and user
Diffstat (limited to 'src/GraphicObjects/Image.cs')
-rw-r--r--src/GraphicObjects/Image.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/GraphicObjects/Image.cs b/src/GraphicObjects/Image.cs
index 8f02a19e..61b6e059 100644
--- a/src/GraphicObjects/Image.cs
+++ b/src/GraphicObjects/Image.cs
@@ -23,7 +23,7 @@ namespace Crow
if (_pic == null)
return;
_pic.Scaled = scaled;
- registerForGraphicUpdate ();
+ RegisterForGraphicUpdate ();
}
}
bool keepProps;
@@ -38,7 +38,7 @@ namespace Crow
if (_pic == null)
return;
_pic.KeepProportions = keepProps;
- registerForGraphicUpdate ();
+ RegisterForGraphicUpdate ();
}
}
[XmlAttributeAttribute("Path")]
@@ -65,7 +65,7 @@ namespace Crow
get { return _svgSub; }
set {
_svgSub = value;
- registerForGraphicUpdate ();
+ RegisterForGraphicUpdate ();
}
}
@@ -85,7 +85,7 @@ namespace Crow
_pic = new BmpPicture ();
_pic.LoadImage (path);
- registerForGraphicUpdate ();
+ RegisterForGraphicUpdate ();
RegisterForLayouting (LayoutingType.Sizing);
}
#endregion