From 879385a4cab5bd978f92b62133e86d180d168f31 Mon Sep 17 00:00:00 2001 From: josdejong Date: Fri, 7 Feb 2014 14:47:20 +0100 Subject: [PATCH] Fixed selected ItemRangeOverflow not displaying as selected --- src/timeline/component/item/ItemRangeOverflow.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/timeline/component/item/ItemRangeOverflow.js b/src/timeline/component/item/ItemRangeOverflow.js index c3133dae..d2bc5087 100644 --- a/src/timeline/component/item/ItemRangeOverflow.js +++ b/src/timeline/component/item/ItemRangeOverflow.js @@ -84,7 +84,8 @@ ItemRangeOverflow.prototype.repaint = function repaint() { } // update class - var className = this.data.className ? (' ' + this.data.className) : ''; + var className = (this.data.className? ' ' + this.data.className : '') + + (this.selected ? ' selected' : ''); if (this.className != className) { this.className = className; dom.box.className = 'item rangeoverflow' + className;