|
@ -342,7 +342,9 @@ Range.prototype._applyRange = function(start, end) { |
|
|
zoomMin = 0; |
|
|
zoomMin = 0; |
|
|
} |
|
|
} |
|
|
if ((newEnd - newStart) < zoomMin) { |
|
|
if ((newEnd - newStart) < zoomMin) { |
|
|
if ((this.end - this.start) === zoomMin && newStart > this.start && newEnd < this.end) { |
|
|
|
|
|
|
|
|
// compensate for a scale of 0.5 ms
|
|
|
|
|
|
var compensation = 0.5; |
|
|
|
|
|
if ((this.end - this.start) === zoomMin && newStart >= this.start - compensation && newEnd <= this.end) { |
|
|
// ignore this action, we are already zoomed to the minimum
|
|
|
// ignore this action, we are already zoomed to the minimum
|
|
|
newStart = this.start; |
|
|
newStart = this.start; |
|
|
newEnd = this.end; |
|
|
newEnd = this.end; |
|
|