瀏覽代碼

Fix dropdown reversing flow (#543)

Tom SPIRA 6 年之前
父節點
當前提交
b527992d4d
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      h2d/Dropdown.hx

+ 1 - 0
h2d/Dropdown.hx

@@ -53,6 +53,7 @@ class Dropdown extends Flow {
 		minHeight = maxHeight = 21;
 		paddingLeft = 5;
 		verticalAlign = Middle;
+		reverse = true;
 
 		tileOverItem = h2d.Tile.fromColor(0x303030, 1, 1);
 		tileArrow = tileArrowOpen = h2d.Tile.fromColor(0x404040, maxHeight - 2, maxHeight - 2);