소스 검색

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 )