浏览代码

Fixed type issue.

Mark Sibly 9 年之前
父节点
当前提交
2ff759e7b7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/mojox/treeview.monkey2

+ 1 - 1
modules/mojox/treeview.monkey2

@@ -442,7 +442,7 @@ Class TreeView Extends ScrollableView
 			
 			If node._icon
 				w+=_spcWidth+node._icon.Width
-				h=Max( h,node._icon.Height )
+				h=Max( h,Int( node._icon.Height ) )
 			Endif
 			
 			size=New Vec2i( w+_nodeSize,Max( h,_nodeSize )+_spacing )