src/js/widgets/segmentsWidget.js
branchpopcorn-port
changeset 218 079b745d0438
parent 217 ec3e6d34462c
child 220 6498b89eabcd
--- a/src/js/widgets/segmentsWidget.js	Wed Nov 09 17:06:23 2011 +0100
+++ b/src/js/widgets/segmentsWidget.js	Wed Nov 09 17:25:09 2011 +0100
@@ -17,7 +17,8 @@
   var self = this;
   var annotations = this._serializer._data.annotations;
 
-  this.selector.append("<div style='position: absolute; z-index: 100; width: 1px; height: 20px; background-color: black;'></div>");
+  this.selector.css("overflow", "auto"); // clear the floats - FIXME : to refactor ?
+  this.selector.append("<div style='position: absolute; z-index: 100; width: 1px; height: 20px; background-color: white;'></div>");
   this.positionMarker = this.selector.children(":first");
   
   this._Popcorn.listen("timeupdate", IriSP.wrap(this, this.positionUpdater));