From 0bfeda35eb7923923cd323987c63df782e7c3f58 Mon Sep 17 00:00:00 2001 From: Kangho Hur Date: Tue, 20 Dec 2016 08:03:09 +0900 Subject: [PATCH] Fix for setting image loading events Change-Id: I1fcda10ed92aae011bac35d62999b262d1c47ca9 --- ElmSharp/ElmSharp/Image.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ElmSharp/ElmSharp/Image.cs b/ElmSharp/ElmSharp/Image.cs index 2c99bcb..fece740 100644 --- a/ElmSharp/ElmSharp/Image.cs +++ b/ElmSharp/ElmSharp/Image.cs @@ -323,7 +323,7 @@ namespace ElmSharp } }); - SmartEvent loadReady = new SmartEvent(this, Handle, "load,ready"); + SmartEvent loadReady = new SmartEvent(this, RealHandle, "load,ready"); loadReady.On += (s, e) => { loadReady.Dispose(); @@ -334,7 +334,7 @@ namespace ElmSharp } }; - SmartEvent loadError = new SmartEvent(this, Handle, "load,error"); + SmartEvent loadError = new SmartEvent(this, RealHandle, "load,error"); loadError.On += (s, e) => { loadError.Dispose(); -- 2.7.4