Open GoogleCodeExporter opened 9 years ago
Thanks Larry for passing this on! Rather than patch timeline-bundle.js, I
overrode
Timeline._Band.prototype._onDblClick in my own code, and expanded Xosen's code
so I
could read and understand it, thus:
Timeline._Band.prototype._onDblClick = function(innerFrame, evt, target){
var coords = SimileAjax.DOM.getEventRelativeCoordinates(evt, innerFrame);
if(SimileAjax.Platform.browser.isIE){
if(evt.offsetX > 100){
var distance = coords.x-(this._viewLength/2-this._viewOffset);
this._autoScroll(-distance);
}} else {
var distance = coords.x-(this._viewLength/2-this._viewOffset);
this._autoScroll(-distance);
}};
I find it odd that there's so little complaint of this bug. Thanks Xosen for
working
out this hack. I hope it makes it into trunk eventually.
Original comment by crumpj...@gmail.com
on 3 May 2010 at 9:02
Original issue reported on code.google.com by
larryklu...@gmail.com
on 10 Jun 2009 at 2:48