Browse Source

Fixed type issue.

Mark Sibly 9 years ago
parent
commit
2ff759e7b7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/mojox/treeview.monkey2

+ 1 - 1
modules/mojox/treeview.monkey2

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