Browse Source

Fixed selected ItemRangeOverflow not displaying as selected

css_transitions
josdejong 10 years ago
parent
commit
879385a4ca
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/timeline/component/item/ItemRangeOverflow.js

+ 2
- 1
src/timeline/component/item/ItemRangeOverflow.js View File

@ -84,7 +84,8 @@ ItemRangeOverflow.prototype.repaint = function repaint() {
} }
// update class // 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) { if (this.className != className) {
this.className = className; this.className = className;
dom.box.className = 'item rangeoverflow' + className; dom.box.className = 'item rangeoverflow' + className;

Loading…
Cancel
Save