浏览代码

fixed background-id type drawable

Nicolas Cannasse 5 年之前
父节点
当前提交
f19197d7ef
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 });
 		}
 	}