|  | @ -13,7 +13,7 @@ function ItemSet(body, options) { | 
														
													
														
															
																|  |  | this.body = body; |  |  | this.body = body; | 
														
													
														
															
																|  |  |  |  |  |  | 
														
													
														
															
																|  |  | this.defaultOptions = { |  |  | this.defaultOptions = { | 
														
													
														
															
																|  |  | type: 'box', |  |  |  | 
														
													
														
															
																|  |  |  |  |  | type: null,  // 'box', 'point', 'range', 'rangeoverflow' | 
														
													
														
															
																|  |  | orientation: 'bottom',  // 'top' or 'bottom' |  |  | orientation: 'bottom',  // 'top' or 'bottom' | 
														
													
														
															
																|  |  | align: 'center', // alignment of box items |  |  | align: 'center', // alignment of box items | 
														
													
														
															
																|  |  | stack: true, |  |  | stack: true, | 
														
													
												
													
														
															
																|  | @ -673,10 +673,7 @@ ItemSet.prototype._onUpdate = function(ids) { | 
														
													
														
															
																|  |  | ids.forEach(function (id) { |  |  | ids.forEach(function (id) { | 
														
													
														
															
																|  |  | var itemData = me.itemsData.get(id, me.itemOptions), |  |  | var itemData = me.itemsData.get(id, me.itemOptions), | 
														
													
														
															
																|  |  | item = me.items[id], |  |  | item = me.items[id], | 
														
													
														
															
																|  |  | type = itemData.type || |  |  |  | 
														
													
														
															
																|  |  | (itemData.start && itemData.end && 'range') || |  |  |  | 
														
													
														
															
																|  |  | me.options.type || |  |  |  | 
														
													
														
															
																|  |  | 'box'; |  |  |  | 
														
													
														
															
																|  |  |  |  |  | type = itemData.type || me.options.type || (itemData.end ? 'range' : 'box'); | 
														
													
														
															
																|  |  |  |  |  |  | 
														
													
														
															
																|  |  | var constructor = ItemSet.types[type]; |  |  | var constructor = ItemSet.types[type]; | 
														
													
														
															
																|  |  |  |  |  |  | 
														
													
												
													
														
															
																|  |  |