Browse Source

fixed background-id type drawable

Nicolas Cannasse 5 years ago
parent
commit
f19197d7ef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      h2d/domkit/BaseComponents.hx

+ 1 - 1
h2d/domkit/BaseComponents.hx

@@ -713,7 +713,7 @@ class FlowComp extends ObjectComp implements domkit.Component.ComponentDecl<h2d.
 				bg.dom.initAttributes({ id : id });
 		} else {
 			if( id != null )
-				bg.dom = domkit.Properties.create("bitmap",bg,{ id : id });
+				bg.dom = domkit.Properties.create("drawable",bg,{ id : id });
 		}
 	}