From 75b807f91a274de1904608786d01c37517d473ea Mon Sep 17 00:00:00 2001 From: Matan Uberstein Date: Mon, 20 Jul 2015 11:39:14 +0200 Subject: [PATCH] Fixed html5 image loading through DefaultAssetLibrary where id and path doesn't match. --- templates/haxe/DefaultAssetLibrary.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/haxe/DefaultAssetLibrary.hx b/templates/haxe/DefaultAssetLibrary.hx index fa9febadd..dae62895f 100644 --- a/templates/haxe/DefaultAssetLibrary.hx +++ b/templates/haxe/DefaultAssetLibrary.hx @@ -611,7 +611,7 @@ class DefaultAssetLibrary extends AssetLibrary { handler (Image.fromImageElement (image)); } - image.src = id; + image.src = path.get (id); } else {