Browse Source

fix isVertical warning

trethaller 6 years ago
parent
commit
700f98a39b
1 changed files with 1 additions and 1 deletions
  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;