|
|
@ -551,7 +551,7 @@ Range.prototype._onPinch = function (event) { |
|
|
|
var scale = 1 / (event.scale + this.scaleOffset); |
|
|
|
var centerDate = this._pointerToDate(this.props.touch.center); |
|
|
|
|
|
|
|
var hiddenDuration = DateUtil.getHiddenDurationBetween(this.options.moment, this.body.hiddenDates, this.start, this.end); |
|
|
|
var hiddenDuration = DateUtil.getHiddenDurationBetween(this.body.hiddenDates, this.start, this.end); |
|
|
|
var hiddenDurationBefore = DateUtil.getHiddenDurationBefore(this.options.moment, this.body.hiddenDates, this, centerDate); |
|
|
|
var hiddenDurationAfter = hiddenDuration - hiddenDurationBefore; |
|
|
|
|
|
|
|