浏览代码

fix isVertical warning

trethaller 6 年之前
父节点
当前提交
700f98a39b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      h2d/Dropdown.hx

+ 1 - 1
h2d/Dropdown.hx

@@ -62,7 +62,7 @@ class Dropdown extends Flow {
 		borderHeight = borderWidth = 1;
 
 		dropdownList = new Flow(this);
-		dropdownList.isVertical = true;
+		dropdownList.layout = Vertical;
 		dropdownList.borderHeight = dropdownList.borderWidth = 1;
 		dropdownList.paddingLeft = paddingLeft;
 		dropdownList.visible = false;